|
@@ -123,7 +123,7 @@
|
|
|
var that = this
|
|
|
that.$request.baseRequest('get', '/driverInfo/firstAuthentication', {
|
|
|
driverPhone: this.phone,
|
|
|
- }).then(res2 => {
|
|
|
+ }).then(res => {
|
|
|
if (res.data.authenticationStatus == '已禁用') {
|
|
|
that.$refs.uToast.show({
|
|
|
type: 'error',
|
|
@@ -166,11 +166,11 @@
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
- uni.setStorageSync("shiro",encodeURIComponent(`ws_login_companyShortName=
|
|
|
+ uni.setStorageSync("shiro",encodeURIComponent(`ws_login_companySh041500ortName=
|
|
|
'黑龙江中天昊元贸易有限公司'; ws_login_rememberMe=1; ws_login_account=${that.phone}; ws_login_pwd=${that.password}; shiro.session=65500189-7bb5-457f-9ff6-0db069150e78`))
|
|
|
uni.setStorageSync('pcuserInfo', res.data)
|
|
|
uni.setStorageSync('userInfo', res.data)
|
|
|
- uni.setStorageSync('firstAuthentication', res2.data)
|
|
|
+ uni.setStorageSync('firstAuthentication', res.data)
|
|
|
helper.getListByUserId()
|
|
|
that.$store.commit('login', res.data)
|
|
|
var name = 'userInfo';
|