@@ -69,7 +69,7 @@ export function sendShortMessage(phone, imgCode, uuid) {
// 选择企业登陆
export function chooseCompanyLogin(companyId) {
return request({
- url: '/auth/chooseCompanyLogin',
+ url: '/system/user/chooseCompanyLogin',
method: 'post',
data: {companyId : companyId}
})
@@ -314,9 +314,7 @@ export default {
if (response.code == "200") {
// 认证通过
if (response.data.sysUser.companyStatus == "00") {
- this.$store.dispatch('GetInfo').then(res => {
- this.$router.push({ path: this.redirect || "/" });
- })
+ this.$router.push({ path: this.redirect || "/" });
// 认证未通过
} else {
console.log("未认证通过!")