|
|
@ -221,6 +221,14 @@ |
|
|
console.log("认证", res); |
|
|
console.log("认证", res); |
|
|
console.log("code: " + res.result.result.code); |
|
|
console.log("code: " + res.result.result.code); |
|
|
getSiqLoginAuth({code: res.result.result.code}, success => { |
|
|
getSiqLoginAuth({code: res.result.result.code}, success => { |
|
|
|
|
|
|
|
|
|
|
|
// todo 测试时指定账号去2.0版本 start. |
|
|
|
|
|
if(success.data.userId=="17608629742"||success.data.userId=="2064275054386966530"||success.data.userId=="2064274295779979265"){ |
|
|
|
|
|
window.location.href="http://jdm.szssfj.cn/efcode20-ent-app/enterprise/enterpriseHome"; |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
// todo 测试时指定账号去2.0版本 end. |
|
|
|
|
|
|
|
|
useCommon.SET_USER_PHONENUMBER(success.data.phonenumber.toString()); |
|
|
useCommon.SET_USER_PHONENUMBER(success.data.phonenumber.toString()); |
|
|
useCommon.SET_USER_ID(success.data.userId); |
|
|
useCommon.SET_USER_ID(success.data.userId); |
|
|
useCommon.SET_USER_ENTERPRISE_NUMBER(success.data.enterpriseNumber); |
|
|
useCommon.SET_USER_ENTERPRISE_NUMBER(success.data.enterpriseNumber); |
|
|
|