|
|
@ -92,6 +92,7 @@ abstract class ApiService { |
|
|
|
if (pay) { |
|
|
|
if (pay) { |
|
|
|
headers["Environment"] = "app"; |
|
|
|
headers["Environment"] = "app"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
print("软件当前运行的模式 kReleaseMode:"+(kReleaseMode ? "发布模式":"调试模式")); |
|
|
|
if (kReleaseMode) baseUrl = serviceBaseUrl; |
|
|
|
if (kReleaseMode) baseUrl = serviceBaseUrl; |
|
|
|
if (isIp) baseUrl = ipBaseUrl; |
|
|
|
if (isIp) baseUrl = ipBaseUrl; |
|
|
|
dio.options = BaseOptions( |
|
|
|
dio.options = BaseOptions( |
|
|
|