去除代理

This commit is contained in:
gyq 2025-04-30 09:36:36 +08:00
parent 0844db0c57
commit 12c4fb3629
3 changed files with 16 additions and 14 deletions

View File

@ -8,10 +8,12 @@
data: {
//
//
request_url: env == 'development' ? '/api/' : 'https://store.sxczgkj.com/',
// request_url: env == 'development' ? '/api/' : 'https://store.sxczgkj.com/',
request_url: 'https://store.sxczgkj.com/',
// publicpublichttps://d1.shopxo.vip/public/
static_url: env == 'development' ? '/api/' : 'https://store.sxczgkj.com/',
// static_url: env == 'development' ? '/api/' : 'https://store.sxczgkj.com/',
static_url: 'https://store.sxczgkj.com/',
// default
system_type: 'default',

View File

@ -244,17 +244,17 @@
},
"devServer" : {
"https" : false,
"port" : 8082,
"proxy" : {
"/api" : {
// "target": "http://192.168.1.43:7777/",
"target" : "https://store.sxczgkj.com/",
"changeOrigin" : "true",
"pathRewrite" : {
"^/api" : ""
}
}
}
"port" : 8082
// "proxy" : {
// "/api" : {
// // "target": "http://192.168.1.43:7777/",
// "target" : "https://store.sxczgkj.com/",
// "changeOrigin" : "true",
// "pathRewrite" : {
// "^/api" : ""
// }
// }
// }
},
"router" : {
"mode" : "history",

View File

@ -487,7 +487,7 @@
this.setData({
params: params,
});
// this.initWechatSdk();
this.initWechatSdk();
},
onShow() {