预处理选择层级,待接口及确认在哪里提交数据及是否必须提交等

This commit is contained in:
2019-09-08 12:29:40 +08:00
parent bff6584b7d
commit 17e9a8658e
5 changed files with 110 additions and 7 deletions

View File

@ -25,6 +25,8 @@ var localAuthType = localStorage.getItem("authType");
if (data.status == 1) {
userId = parseInt(data.data.user.userId);
authType = parseInt(data.data.user.authType);
localStorage.setItem("userId", userId);
localStorage.setItem("userName", data.data.user.userName)
var imgurl = data.data.user.userPhoto ? hyhImgUrl(data.data.user.userPhoto) : '../img/mujiimg.png';
if(1 == localAuthType){
//本地申请亲人认证