切入曲靖验证和修正
This commit is contained in:
@@ -14,10 +14,14 @@ export const user = {
|
||||
},
|
||||
},
|
||||
actions: {
|
||||
getUserInfo({commit}) {
|
||||
getUserInfo({commit}, way = "std") {
|
||||
//获取企业微信后台账号信息
|
||||
//党员认证状态 partyStatusForWX:0、未认证 1、认证中 2、已认证
|
||||
return http.post("/app/appwechatuser/check").then(res => {
|
||||
const actions = {
|
||||
std: "/app/appwechatuser/check",
|
||||
qujing: "/app/appwechatuserqujing/check",
|
||||
}
|
||||
return http.post(actions[way]).then(res => {
|
||||
if (res?.data) {
|
||||
commit('setUser', res.data)
|
||||
return Promise.all([])
|
||||
|
||||
Reference in New Issue
Block a user