166cd506 by simon

默认提交

1 parent 9d6b20a0
...@@ -12,8 +12,8 @@ function Toast(msg) { ...@@ -12,8 +12,8 @@ function Toast(msg) {
12 12
13 // 服务器地址 13 // 服务器地址
14 let base = "https://ow.go.qudone.com/baohui_jewelry_api/h5"; 14 let base = "https://ow.go.qudone.com/baohui_jewelry_api/h5";
15 if (location.href.indexOf("//k.wxpai.cn") > 0) { 15 if (location.href.indexOf('://k.wxpai.cn') > 0 || location.href.indexOf('h5.k.wxpai.cn') > 0) {
16 base = "https://api.k.wxpai.cn/bizproxy" 16 base = "https://api.k.wxpai.cn/bizproxy/baohui_jewelry_api/h5";
17 } 17 }
18 // let base = COM.baseUrl; 18 // let base = COM.baseUrl;
19 19
......