Bladeren bron

fix: 把ip换成域名

allen 2 weken geleden
bovenliggende
commit
ed84f15c39
4 gewijzigde bestanden met toevoegingen van 8 en 8 verwijderingen
  1. 2 2
      manifest.json
  2. 1 1
      pages/afterSale/addafter.vue
  3. 1 1
      pages/index/index.vue
  4. 4 4
      util/neutral.js

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "智控",
     "appid" : "__UNI__DBA6730",
     "description" : "",
-    "versionName" : "1.15.7",
-    "versionCode" : 11507,
+    "versionName" : "1.15.8",
+    "versionCode" : 11508,
     "transformPx" : false,
     "sassImplementationName" : "node-sass",
     /* 5+App特有相关 */

+ 1 - 1
pages/afterSale/addafter.vue

@@ -348,7 +348,7 @@
 			},
 			onok(ev){
 				uni.uploadFile({
-				    url: 'http://8.136.98.49:8002/api/api_gateway?method=base.bases.base_photo', //仅为示例,非真实的接口地址
+				    url: 'https://web.hnyfwlw.com/api/api_gateway?method=base.bases.base_photo', //仅为示例,非真实的接口地址
 					filePath: ev.path,
 				    name: 'img_file',
 				    formData: {

+ 1 - 1
pages/index/index.vue

@@ -522,7 +522,7 @@
 					});
 					uni.uploadFile({
 						// url: 'http://dev.hnyfwlw.com/api/api_gateway?method=base.bases.base_photo', //仅为示例,非真实的接口地址
-						url: 'http://8.136.98.49:8002/api/api_gateway?method=pest.pests.plant_discern', //仅为示例,非真实的接口地址
+						url: 'https://web.hnyfwlw.com/api/api_gateway?method=pest.pests.plant_discern',
 						filePath: ev.path,
 						name: 'img_file',
 						formData: {

+ 4 - 4
util/neutral.js

@@ -1,9 +1,9 @@
 export default {
-  isneutral:true,//云飞智控
-  // isneutral: false, //智控
-  developAPI:'http://218.28.198.186:10508',//测试环境访问地址
+  // isneutral:true,//云飞智控
+  isneutral: false, //智控
+  developAPI:'https://uat.hnyfwlw.com',//测试环境访问地址
   // productAPI:'http://8.136.98.49:8002',//生产环境
-  productAPI:'https://api.hnyfwlw.com',//生产环境
+  productAPI:'https://web.hnyfwlw.com',//生产环境
   // imageURL:'http://www.hnyfwlw.com:8006',//图片访问路径
   imageURL:'https://s3.hnyfwlw.com/webstaticimg',//图片访问路径
 };