honghengqiang пре 2 година
родитељ
комит
3697a6ebf3

+ 2 - 2
app/src/main/java/com/swago/app/SplashVm.kt

@@ -105,8 +105,8 @@ class SplashVm(application: Application) : BaseViewModel(application) {
 
 
     private fun setBaseUrl(baseUrl: String) {
     private fun setBaseUrl(baseUrl: String) {
         if (BuildConfig.DEBUG) {
         if (BuildConfig.DEBUG) {
-//            UrlConstant.BASE_URL =   "http:test-api.swago.cn"
-            UrlConstant.BASE_URL =   "http:huawei.swago.cn"
+            UrlConstant.BASE_URL =   "http:test-api.swago.cn"
+//            UrlConstant.BASE_URL =   "http:huawei.swago.cn"
 //            UrlConstant.BASE_URL =    "https://api.swagobei.com"
 //            UrlConstant.BASE_URL =    "https://api.swagobei.com"
 //            UrlConstant.BASE_URL =   "http://advance.swago.cn"
 //            UrlConstant.BASE_URL =   "http://advance.swago.cn"
 //            UrlConstant.BASE_URL =   "https://pro-api.swago.cn"
 //            UrlConstant.BASE_URL =   "https://pro-api.swago.cn"

+ 2 - 2
baseswago/src/main/java/com/swago/baseswago/constant/UrlConstant.kt

@@ -14,8 +14,8 @@ import java.io.File
 object UrlConstant {
 object UrlConstant {
 
 
     var BASE_URL = if (BuildConfig.DEBUG) {
     var BASE_URL = if (BuildConfig.DEBUG) {
-//            "http:test-api.swago.cn"
-            "http:huawei.swago.cn"
+            "http:test-api.swago.cn"
+//            "http:huawei.swago.cn"
 //        "https://api.swagobei.com"
 //        "https://api.swagobei.com"
 //        "http://advance.swago.cn"
 //        "http://advance.swago.cn"
 //        "https://pro-api.swago.cn"
 //        "https://pro-api.swago.cn"