166cd506 by simon

默认提交

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