Browse Source

后台地址变化

zhangsijie 1 year ago
parent
commit
69460c51a9

+ 2 - 2
pages/identifyPest/identifyPestIndex/identifyPestIndex.vue

@@ -181,8 +181,8 @@
 				console.log(num);
 				uni.uploadFile({
 					// url: 'https://wx.hnyfwlw.com/bigservers/' + url + '?type=' + num,
-					// url: `https://wx.hnyfwlw.com/api/api_gateway?method=wheat.discreen.plan`,
-					url: `http://192.168.2.163:8003/api/api_gateway?method=wheat.discreen.plan`,
+					url: `https://wx.hnyfwlw.com/api/api_gateway?method=wheat.discreen.plan`,
+					// url: `http://192.168.2.163:8003/api/api_gateway?method=wheat.discreen.plan`,
 					fileType: 'image',
 					// file: this.urlData,
 					filePath: ev.path,

File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/mp-weixin/common/vendor.js


+ 2 - 2
util/api.js

@@ -2,8 +2,8 @@
 // const BASE_URL='http://8.136.98.49:8002'
 // let BASE_URL = 'http://192.168.2.183:8006'
 // let BASE_URL = 'https://wx.hnyfwlw.com'
-// let BASE_URL = 'https://wx.hnyfwlw.com'
-let BASE_URL = 'http://192.168.2.163:8003'
+let BASE_URL = 'https://wx.hnyfwlw.com'
+// let BASE_URL = 'http://192.168.2.163:8003'
 export const myRequest=(options)=>{
 	// BASE_URL=uni.getStorageSync('http')
 	// if(BASE_URL==''){