wu_id 改 lmi_sn

feature/price_manager
Lei OT 1 year ago
parent cc2bf23bf5
commit ff6071cd2f

@ -53,7 +53,7 @@ const initAppliction = async () => {
} }
if (isNotEmpty(userId)) { if (isNotEmpty(userId)) {
appendRequestParams('wu_id', userId) appendRequestParams('lmi_sn', userId)
await fireAuth() await fireAuth()
} }
} }

@ -98,7 +98,7 @@ const useAuthStore = create(obervseLifecycle((set, get) => ({
setStorage(KEY_USER_ID, userDetail.LMI_SN) setStorage(KEY_USER_ID, userDetail.LMI_SN)
setStorage(KEY_TRAVEL_AGENCY_ID, userDetail.LMI_VEI_SN) setStorage(KEY_TRAVEL_AGENCY_ID, userDetail.LMI_VEI_SN)
appendRequestParams('token', loginToken) appendRequestParams('token', loginToken)
appendRequestParams('wu_id', userDetail.LMI_SN) appendRequestParams('lmi_sn', userDetail.LMI_SN)
// loadPageSpy(`${json.Result.VName}-${json.Result.LoginName}`) // loadPageSpy(`${json.Result.VName}-${json.Result.LoginName}`)
startTokenInterval() startTokenInterval()
}, },
@ -172,4 +172,4 @@ const useAuthStore = create(obervseLifecycle((set, get) => ({
}))) })))
export default useAuthStore export default useAuthStore

Loading…
Cancel
Save