uu
This commit is contained in:
parent
682a016c56
commit
ff9af2adeb
@ -4,7 +4,7 @@ export const host = curEnvConf.apiHost
|
||||
|
||||
export default {
|
||||
uploadFile: '/common/ossUpload',
|
||||
loginByApp: `/loginByAccount`, // 登录
|
||||
loginByApp: `/loginByApp`, // 登录 -- DONE
|
||||
loginByMP: `/loginByWeixin`, // 小程序登录 -- DONE
|
||||
bindPhone: `/bindPhoneByWx`, // 绑定手机号 -- DONE
|
||||
getInfoByApp: `/getInfoByWxApp`,// 获取用户基本信息 -- DONE
|
||||
|
||||
@ -84,11 +84,14 @@
|
||||
})
|
||||
setSessionLoginInfo(submitParams)
|
||||
|
||||
this.$emit("succeedBack")
|
||||
this.loginSucceed()
|
||||
}catch(e){
|
||||
console.error("USERKEY.LOGIN===catch error:", e)
|
||||
}
|
||||
this.hideLoading()
|
||||
},
|
||||
async loginSucceed(){
|
||||
this.$emit("succeedBack")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user