Commit a231dfb4 by 李嘉林

分销接口异常判断

parent b0a21261
......@@ -713,6 +713,7 @@ export default {
})
await app.fenxiaoModel.getSpokesmanInfo().then(data=>{
let newData = {}
if(data != null ) {
if (hasInvitationStatus == 1) {
newData = {
spokesmanGroupId: data.groupId,
......@@ -725,6 +726,7 @@ export default {
userId: data.userId
}
}
}
newHref = concatUrl(newHref,newData)
})
}
......
......@@ -61,10 +61,8 @@ class fenxiaoModel{
_this.fenxiaoApi.query_login_spoken().then(res=>{
if(res.data.code == '200') {
_this.spokesmanInfo = res.data.data;
resolve(res.data.data)
}else {
reject(res)
}
resolve(res.data.data)
});
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment