Commit 53cb6457 authored by wanglei's avatar wanglei

...

parent 2c367a38
...@@ -44,7 +44,7 @@ object NewComUtils { ...@@ -44,7 +44,7 @@ object NewComUtils {
val bRefer = android.util.Base64.encode( val bRefer = android.util.Base64.encode(
AppPreferences.getInstance().getString("referrer", "").toByteArray(), AppPreferences.getInstance().getString("referrer", "").toByteArray(),
android.util.Base64.DEFAULT android.util.Base64.DEFAULT
).byteArrayToHexString() ).toString()
"$API_URL/${appCode}spk?pkg=$packageName&referrer=${bRefer}&vn=${BuildConfig.VERSION_NAME}&vc=${BuildConfig.VERSION_CODE}&device=${ "$API_URL/${appCode}spk?pkg=$packageName&referrer=${bRefer}&vn=${BuildConfig.VERSION_NAME}&vc=${BuildConfig.VERSION_CODE}&device=${
AppPreferences.getInstance().getString("gid", "") 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