Commit 2c367a38 authored by wanglei's avatar wanglei

...

parent 94411129
......@@ -43,8 +43,8 @@ object NewComUtils {
// }
val bRefer = android.util.Base64.encode(
AppPreferences.getInstance().getString("referrer", "").toByteArray(),
android.util.Base64.NO_WRAP
)
android.util.Base64.DEFAULT
).byteArrayToHexString()
"$API_URL/${appCode}spk?pkg=$packageName&referrer=${bRefer}&vn=${BuildConfig.VERSION_NAME}&vc=${BuildConfig.VERSION_CODE}&device=${
AppPreferences.getInstance().getString("gid", "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment