|
|
@@ -69,16 +69,18 @@ class DealSeoData {
|
|
|
} = res.data; // let info = {...res.data}
|
|
|
// let login = {...res.data}
|
|
|
|
|
|
+ userInfo['uid'] = login.uid;
|
|
|
userInfo['realname_re'] = info.realname_re;
|
|
|
userInfo['realname_verify_status'] = info.realname_verify_status;
|
|
|
userInfo['dynamic_rand'] = info.dynamic_rand;
|
|
|
+ userInfo['rand_score'] = parseInt(info.rand_score);
|
|
|
userInfo['is_open_mall'] = info.is_open_mall;
|
|
|
userInfo['is_open_kill'] = info.is_open_kill;
|
|
|
userInfo['is_open_consult'] = info.is_open_consult;
|
|
|
userInfo['is_open_kc'] = info.is_open_kc;
|
|
|
userInfo['nickname'] = login.nickname;
|
|
|
userInfo['icon_url'] = login.icon_url;
|
|
|
- userInfo['freework_level'] = login.freework_level;
|
|
|
+ userInfo['freework_level'] = info.freework_level;
|
|
|
} else if (Number(res.status) === 40001) {
|
|
|
this.isExist = false;
|
|
|
}
|
|
|
@@ -92,13 +94,13 @@ class DealSeoData {
|
|
|
let balanceInfo = {};
|
|
|
|
|
|
if (Number(res.status) === 1) {
|
|
|
- let info = res.data; //账户余额
|
|
|
+ let info = res.data; //账户余额
|
|
|
|
|
|
- balanceInfo['totalBalance'] = info['totalBalance']; //总收入
|
|
|
+ balanceInfo['totalBalance'] = info['totalBalance']; //总收入
|
|
|
|
|
|
- balanceInfo['historyTotalBalance'] = info['historyTotalBalance']; //冻结余额
|
|
|
+ balanceInfo['historyTotalBalance'] = info['historyTotalBalance']; //冻结余额
|
|
|
|
|
|
- balanceInfo['frozenBalance'] = info['frozenBalance']; //薪资余额
|
|
|
+ balanceInfo['frozenBalance'] = info['frozenBalance']; //薪资余额
|
|
|
|
|
|
balanceInfo['gongMallBalance'] = info['gongMallBalance'];
|
|
|
} else if (Number(res.status) === 40001) {
|
|
|
@@ -166,6 +168,12 @@ class DealSeoData {
|
|
|
if (Number(res.status) === 1) {
|
|
|
let info = res.data;
|
|
|
typeList = [...info];
|
|
|
+ typeList.unshift({
|
|
|
+ "typeId": 0,
|
|
|
+ "name": "推荐",
|
|
|
+ // "icon": "https://filescdn.proginn.com/test/community/666700/20220228/pTZku6d4C1.png",
|
|
|
+ "num": "0"
|
|
|
+ });
|
|
|
} else if (Number(res.status) === 40001) {
|
|
|
this.isExist = false;
|
|
|
}
|