微信一键登录增加appKey参数写死gjt

This commit is contained in:
lnljyang
2026-01-23 11:21:35 +08:00
parent 7eb5bbc012
commit fca37014fa

View File

@@ -150,6 +150,7 @@ export default {
.loginByPhoneForDriver({ .loginByPhoneForDriver({
phoneCode: data.detail.code, phoneCode: data.detail.code,
sessionCode: resp.code, sessionCode: resp.code,
appKey: "gjt",
}) })
.then((res) => { .then((res) => {
const result = res; const result = res;
@@ -158,7 +159,7 @@ export default {
_this.getUserMenu(); _this.getUserMenu();
setUser(result.userInfo); setUser(result.userInfo);
uni.switchTab({ uni.switchTab({
url: "/pages/index/index", url: "/pages/map/index",
}); });
}) })
.catch((errors) => { .catch((errors) => {