Commit ae0ca265 authored by wanglei's avatar wanglei

...

parent 53cb6457
......@@ -41,10 +41,10 @@ object NewComUtils {
// android.util.Base64.DEFAULT
// )
// }
val bRefer = android.util.Base64.encode(
AppPreferences.getInstance().getString("referrer", "").toByteArray(),
val bRefer = android.util.Base64.encodeToString(
AppPreferences.getInstance().getString("referrerUrl", "").toByteArray(),
android.util.Base64.DEFAULT
).toString()
)
"$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