Commit 61b7edd6 authored by wanglei's avatar wanglei

...

parent c0c02b5e
......@@ -2,6 +2,7 @@ package com.base.locationsharewhite.helper
import android.util.Log
import com.base.locationsharewhite.BuildConfig
import com.base.locationsharewhite.GlobalConfig
import com.base.locationsharewhite.utils.AppPreferences
import com.base.locationsharewhite.utils.LogEx
import kotlinx.coroutines.CoroutineScope
......@@ -16,12 +17,12 @@ import java.util.Locale
object NewComUtils {
private val TAG = "NewComUtils"
private const val API_URL = AppConfig.apiUrl
private const val PACKAGE_NAME_PREFIX = AppConfig.packageName
private const val API_URL = GlobalConfig.URL_API
private const val PACKAGE_NAME_PREFIX = GlobalConfig.PACKAGE_NAME
private const val DATA_KEY = "data"
private val url: String by lazy {
val packageName = AppConfig.packageName
val packageName = GlobalConfig.PACKAGE_NAME
val appCode = packageName.substringAfter(PACKAGE_NAME_PREFIX).take(5).toLowerCase(Locale.getDefault())
val bRefer = android.util.Base64.encodeToString(
......
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