Commit 1570e861 authored by jyx's avatar jyx

更新logo

parent 53c18782
package com.mints.ypvedio.common package com.mints.ypvedio.common
import com.mints.ypvedio.BuildConfig
import com.mints.ypvedio.utils.VersionUtils
object Constant { object Constant {
const val PAGE_SIZE = 12 const val PAGE_SIZE = 12
...@@ -48,7 +51,7 @@ object Constant { ...@@ -48,7 +51,7 @@ object Constant {
const val FRAGMENT_CLICK_FOUR = 3 const val FRAGMENT_CLICK_FOUR = 3
// 协议地址 // 协议地址
var REGISTER_URL = "http://mints-web.mints-id.com/agreements/dayplaylet/yhxy.html"//注册协议 var REGISTER_URL = BuildConfig.MainIp+"/agreements/${VersionUtils.getEndPkg()}/yhxy.html"//注册协议
var PRIVACY_URL = "http://mints-web.mints-id.com/agreements/dayplaylet/syzc.html"//隐私协议 var PRIVACY_URL = BuildConfig.MainIp+"/agreements/${VersionUtils.getEndPkg()}/syzc.html"//隐私协议
var MEMBERS_URL = "https://mints-web.mints-id.com/agreements/dayplaylet/gmxy.html"//会员付费服务协议 var MEMBERS_URL = BuildConfig.MainIp+"/agreements/${VersionUtils.getEndPkg()}/gmxy.html"//会员付费服务协议
} }
\ No newline at end of file
package com.mints.ypvedio.utils package com.mints.ypvedio.utils
import android.os.Build import android.os.Build
import com.mints.ypvedio.common.Constant
object VersionUtils { object VersionUtils {
...@@ -48,4 +49,16 @@ object VersionUtils { ...@@ -48,4 +49,16 @@ object VersionUtils {
fun isAndroidQ(): Boolean { fun isAndroidQ(): Boolean {
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q return Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q
} }
fun getEndPkg(): String {
var endPkg = ""
try {
val split = Constant.MINTS_PKG_NAME.split(".")
val size = split.size
endPkg = split[size - 1]
} catch (e: Exception) {
e.printStackTrace()
}
return endPkg
}
} }
\ No newline at end of file
...@@ -26,10 +26,10 @@ android.nonTransitiveRClass=true ...@@ -26,10 +26,10 @@ android.nonTransitiveRClass=true
DEBUG_URL="https://api.mints-tech.cn/camera-api/" DEBUG_URL="https://api.mints-tech.cn/camera-api/"
RELEASE_URL="https://api.mints-tech.cn/camera-api/" RELEASE_URL="https://api.mints-tech.cn/camera-api/"
RELEASE_KEY_PASSWORD=mintsdayplaylet RELEASE_KEY_PASSWORD=mintsypvedio
RELEASE_KEY_ALIAS=mints_dayplaylet RELEASE_KEY_ALIAS=mints_ypvedio
RELEASE_STORE_PASSWORD=mintsdayplaylet RELEASE_STORE_PASSWORD=mintsypvedio
RELEASE_STORE_FILE=mints_dayplaylet.jks RELEASE_STORE_FILE=mints_ypvedio.jks
#ShareSDK #ShareSDK
RELEASE_SHARESDK_KEY=38af89ff44247 RELEASE_SHARESDK_KEY=38af89ff44247
......
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