|
@@ -47,7 +47,7 @@ const useStore = defineStore("user", {
|
|
|
})
|
|
|
}
|
|
|
// GYM 和 GYT 区分 code验证错误码的区分
|
|
|
- userType !== "GYM" || setCODE401(5000)
|
|
|
+ userType === "GYM" || setCODE401(5000)
|
|
|
// GYM 和 GYT 区分 获取用户信息的接口区分
|
|
|
const userInfoRes = await httpAjaxLoading(userType === "GYM" ? queryUserInfo_gym : getUserInfo_gyt)
|
|
|
if (userInfoRes.code !== 200) {
|