修改用电查询

This commit is contained in:
2025-05-12 14:04:17 +08:00
parent 028d695deb
commit 4d665588ac
5 changed files with 79 additions and 201 deletions

View File

@@ -45,10 +45,10 @@ export function getConfigByEnv() {
switch (envVersion) {
// 开发版
case 'develop':
// api = "http://localhost:8000"
api = "http://localhost:8000"
// api = "https://zgd.hbhcbn.com/api3"
// api = "https://zgd.hbhcbn.com/api3"
api = "https://zgd.hbhcbn.com/wxApi"
// api = "https://zgd.hbhcbn.com/wxApi"
// api = "http://127.0.0.1:4523/m1/4143821-0-default"
break;
// 体验版
@@ -198,9 +198,11 @@ export const wxLogin = () => {
resolve(res.code)
return
}
alertInfo("未进行微信登录")
reject()
},
fail: err => {
alertError(err)
reject(err)
}
})