|
@@ -6,7 +6,7 @@ android {
|
|
compileSdkVersion 31
|
|
compileSdkVersion 31
|
|
flavorDimensions "baseUrl"
|
|
flavorDimensions "baseUrl"
|
|
productFlavors {
|
|
productFlavors {
|
|
- user1 {//加纳Frpc1
|
|
|
|
|
|
+ user1 {//ghpcarphone
|
|
dimension "baseUrl"
|
|
dimension "baseUrl"
|
|
buildConfigField "String", "BASE_URL", "\"https://www.ghpcarphone.com\""
|
|
buildConfigField "String", "BASE_URL", "\"https://www.ghpcarphone.com\""
|
|
buildConfigField "String", "UPDATE_KEY", "\"bfbc2f7f-779a-4719-9295-60eefbb9269f\""
|
|
buildConfigField "String", "UPDATE_KEY", "\"bfbc2f7f-779a-4719-9295-60eefbb9269f\""
|
|
@@ -14,7 +14,7 @@ android {
|
|
buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
|
|
buildConfigField "String", "UPDATE_APP_NAME", "\"guy.apk\""
|
|
buildConfigField "String", "UPDATE_JSON", "\"config.json\""
|
|
buildConfigField "String", "UPDATE_JSON", "\"config.json\""
|
|
}
|
|
}
|
|
- user2 {//Frpc2
|
|
|
|
|
|
+ user2 {//dcduckcake
|
|
dimension "baseUrl"
|
|
dimension "baseUrl"
|
|
buildConfigField "String", "BASE_URL", "\"https://www.dcduckcake.com\""
|
|
buildConfigField "String", "BASE_URL", "\"https://www.dcduckcake.com\""
|
|
buildConfigField "String", "UPDATE_KEY", "\"2be6db19-4be6-45f5-8a93-368ad7cb6405\""
|
|
buildConfigField "String", "UPDATE_KEY", "\"2be6db19-4be6-45f5-8a93-368ad7cb6405\""
|
|
@@ -23,7 +23,7 @@ android {
|
|
buildConfigField "String", "UPDATE_JSON", "\"config.json\""
|
|
buildConfigField "String", "UPDATE_JSON", "\"config.json\""
|
|
}
|
|
}
|
|
|
|
|
|
- user3 {//Frpc3
|
|
|
|
|
|
+ user3 {//bcblackcoffee
|
|
dimension "baseUrl"
|
|
dimension "baseUrl"
|
|
buildConfigField "String", "BASE_URL", "\"https://www.bcblackcoffee.com\""
|
|
buildConfigField "String", "BASE_URL", "\"https://www.bcblackcoffee.com\""
|
|
buildConfigField "String", "UPDATE_KEY", "\"64f225d4-e9a4-4c9f-93eb-133ff2f16c3e\""
|
|
buildConfigField "String", "UPDATE_KEY", "\"64f225d4-e9a4-4c9f-93eb-133ff2f16c3e\""
|
|
@@ -32,7 +32,7 @@ android {
|
|
buildConfigField "String", "UPDATE_JSON", "\"config.json\""
|
|
buildConfigField "String", "UPDATE_JSON", "\"config.json\""
|
|
}
|
|
}
|
|
|
|
|
|
- user4 {//sms
|
|
|
|
|
|
+ user4 {//lkluckpanda
|
|
dimension "baseUrl"
|
|
dimension "baseUrl"
|
|
buildConfigField "String", "BASE_URL", "\"https://www.lkluckpanda.com\""
|
|
buildConfigField "String", "BASE_URL", "\"https://www.lkluckpanda.com\""
|
|
buildConfigField "String", "UPDATE_KEY", "\"64f225d4-e9a4-4c9f-93eb-133ff2f16c3e\""
|
|
buildConfigField "String", "UPDATE_KEY", "\"64f225d4-e9a4-4c9f-93eb-133ff2f16c3e\""
|
|
@@ -77,7 +77,7 @@ android {
|
|
def json = new JSONObject()
|
|
def json = new JSONObject()
|
|
json.put("versionName", variant.versionName)//版本名称
|
|
json.put("versionName", variant.versionName)//版本名称
|
|
json.put("versionCode", variant.versionCode)//版本号
|
|
json.put("versionCode", variant.versionCode)//版本号
|
|
- json.put("description", "1.新增更新渠道\n2.已知Bug修复\n3.其他\n")//更新内容
|
|
|
|
|
|
+ json.put("description", "1.更新已知问题\n")//更新内容
|
|
json.put("isForce", true)//是否强制更新
|
|
json.put("isForce", true)//是否强制更新
|
|
json.put("title", "有新的版本可以更新!")//更新dialog显示的标题头
|
|
json.put("title", "有新的版本可以更新!")//更新dialog显示的标题头
|
|
json.put("chatId", "-1001958143149L")//日志chat_id
|
|
json.put("chatId", "-1001958143149L")//日志chat_id
|