Explorar o código

更换为章鱼养车信息测试支付

chenrui %!s(int64=4) %!d(string=hai) anos
pai
achega
22127a261f
Modificáronse 2 ficheiros con 27 adicións e 15 borrados
  1. 25 12
      project.config.json
  2. 2 3
      src/api/request.js

+ 25 - 12
project.config.json

@@ -1,5 +1,8 @@
 {
-	"description": "项目配置文件。",
+	"description": "项目配置文件",
+	"packOptions": {
+		"ignore": []
+	},
 	"setting": {
 		"urlCheck": true,
 		"es6": true,
@@ -19,18 +22,21 @@
 			"ignore": [],
 			"disablePlugins": [],
 			"outputPath": ""
-		},
-		"useCompilerModule": false,
-		"userConfirmedUseCompilerModuleSwitch": false
+		}
 	},
-	"miniprogramRoot": "dist/wx/",
 	"compileType": "miniprogram",
-	// "appid": "wx91b4a901e2f6876b",  //  丘比养车
-	"appid": "wxb6f09597a1545d81",  //  章鱼养车
-	"projectname": "qbyc-wxmini",
-	"simulatorType": "wechat",
-	"simulatorPluginLibVersion": {},
 	"libVersion": "2.14.1",
+	"appid": "wxb6f09597a1545d81",
+	"projectname": "zyyc-wxmini",
+	"miniprogramRoot": "dist/wx/",
+	"cloudfunctionTemplateRoot": "",
+	"watchOptions": {
+		"ignore": []
+	},
+	"debugOptions": {
+		"hidedInDevtools": []
+	},
+	"scripts": {},
 	"condition": {
 		"search": {
 			"current": -1,
@@ -40,8 +46,15 @@
 			"current": -1,
 			"list": []
 		},
+		"plugin": {
+			"current": -1,
+			"list": []
+		},
 		"game": {
-			"currentL": -1,
+			"list": []
+		},
+		"gamePlugin": {
+			"current": -1,
 			"list": []
 		},
 		"miniprogram": {
@@ -49,4 +62,4 @@
 			"list": []
 		}
 	}
-}
+}

+ 2 - 3
src/api/request.js

@@ -6,9 +6,9 @@ function request(options) {
   //   title: '加载中' // 数据请求前loading,提高用户体验
   // });
   return new Promise((resolve, reject) => {
-    const baseUrl = 'https://zyyc.chelingzhu.com/zyyc-shop/'; // 预发布
+    // const baseUrl = 'https://zyyc.chelingzhu.com/zyyc-shop/'; // 预发布
     // const baseUrl = 'https://shop.zy-yc.cn/zyyc-shop/'; // 生产
-    // const baseUrl = 'http://192.168.16.103:7101/zyyc-shop/';
+    const baseUrl = 'http://192.168.16.103:7101/zyyc-shop/';
     // const baseUrl = process.env.NODE_ENV === 'production' ? proUrl : devUrl;
 
     let _obj = {
@@ -22,7 +22,6 @@ function request(options) {
 
     Object.assign(_obj, options);
     _obj.header['X-AUTH-TOKEN'] = mpvue.getStorageSync('token');
-    // _obj.header['X-HEADER-APPID'] = 'qaHKg54DXewQ496T5XR+w9UEf9vNaJoAoTOtDN0LSUM='; //  丘比养车
     _obj.header['X-HEADER-APPID'] = 'vb/TIFOLtHqF5qWlwFKVie3SAD9Ef1ec8ERVkvn5brk='; //  章鱼养车
     _obj.url = baseUrl + _obj.url;
     _obj.method = _obj.method.toUpperCase();