|
@@ -174,9 +174,9 @@
|
|
|
let imgURL = res.model; // TODO: 把imgurl也加入用户信息
|
|
|
let userId = localStorage.getItem('frontend-userid');
|
|
|
// console.log('----- User Identity -----');
|
|
|
- BasicFunction.get_data("smartIdentity/list?userId=" + userId, function (res) {
|
|
|
- if (res.ret === '10000') {
|
|
|
- let useridentity = res.model.list[0];
|
|
|
+ BasicFunction.get_data("smartIdentity/list?userId=" + userId, function (resOfIdentList) {
|
|
|
+ if (resOfIdentList.ret === '10000') {
|
|
|
+ let useridentity = resOfIdentList.model.list[0];
|
|
|
useridentity.userWxAccount = that.wechat;
|
|
|
useridentity.dormDistrict = that.dorId;
|
|
|
useridentity.userSex = parseInt(that.radio);
|