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