|
@@ -7,11 +7,11 @@ const {
|
|
|
}
|
|
|
} = wx.getAccountInfoSync();
|
|
|
// if (envVersion == 'develop') {
|
|
|
- baseUrl = 'https://reader-api.efunbox.cn/wx'
|
|
|
- oldUrl = 'https://reader-api.efunbox.cn'
|
|
|
+baseUrl = 'https://reader-api.efunbox.cn/wx'
|
|
|
+oldUrl = 'https://reader-api.efunbox.cn'
|
|
|
// } else {
|
|
|
-// baseUrl = 'https://reader-api.ai160.com/wx'
|
|
|
-// oldUrl = 'https://reader-api.ai160.com'
|
|
|
+// baseUrl = 'https://reader-api.ai160.com/wx'
|
|
|
+// oldUrl = 'https://reader-api.ai160.com'
|
|
|
// }
|
|
|
|
|
|
function request(url, method, data, oldBaseUrl = false, intercept = true) {
|