stanley-king 4 سال پیش
والد
کامیت
f2cc608f7b
3فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 1 1
      config.js
  2. 2 2
      pages/components/blockItem/blockItem.js
  3. 1 1
      project.config.json

+ 1 - 1
config.js

@@ -1,5 +1,5 @@
 // let api = "https://passport.lrlz.com/mobile/index.php";
-let api = "http://www.xyzshops.cn/mobile/index.php";
+let api = "https://www.xyzshops.cn/mobile/index.php";
 // let api = "http://192.168.1.200/mobile/index.php";
 
 function getReq(data, callback, method) 

+ 2 - 2
pages/components/blockItem/blockItem.js

@@ -161,10 +161,10 @@ Component({
           break;
         }
         case "appjump": {
-          //let url = 'xyzshop://www.xyzshops.com/DirectBuy?goods_id=6217&num=1';
+          //let url = 'xyzshop://www.xyzshops.com/DirectBuyVGoods?goods_id=6217&num=1';
           let url = target_data;
           const [prefix, params] = parseAppjump(url);
-
+          
           if(prefix == 'xyzshop://www.xyzshops.com/DirectBuyVGoods') {
             let goods_id = params['goods_id'];
             let num = params['num'];    

+ 1 - 1
project.config.json

@@ -24,7 +24,7 @@
 			"outputPath": ""
 		},
 		"useIsolateContext": true,
-		"useCompilerModule": false,
+		"useCompilerModule": true,
 		"userConfirmedUseCompilerModuleSwitch": false
 	},
 	"compileType": "miniprogram",