切入曲靖验证和修正

This commit is contained in:
aixianling
2023-03-17 10:15:03 +08:00
parent 4f49a8ce3a
commit caa650d8a7
3 changed files with 51 additions and 12 deletions

View File

@@ -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([])