Commit 3c6b0964 authored by Hsinli's avatar Hsinli

addd

parent 1bf3617f
Pipeline #6241 passed with stage
in 7 seconds
...@@ -40,14 +40,14 @@ class MineService extends Service { ...@@ -40,14 +40,14 @@ class MineService extends Service {
let collectionList = await service.house.collection.getCollectionCount(); let collectionList = await service.house.collection.getCollectionCount();
let orderList = await service.house.order.getOrderCount(); let orderList = await service.house.order.getOrderCount();
let phone = appUserInfo.phone || ''; let phone = appUserInfo.user.phone || '';
if (phone.length > 0) { if (phone.length > 0) {
phone = phone.substing(0, 2) + phone.substing(7, 10); phone = phone.substing(0, 2) + phone.substing(7, 10);
} }
ret.login = true; ret.login = true;
ret.user.nickname = appUserInfo.nickname || ''; ret.user.nickname = appUserInfo.nickname || '';
ret.user.avatar = appUserInfo.avatar || ''; ret.user.avatar = appUserInfo.avatar || '';
ret.user.avatar = phone; ret.user.phone = phone;
ret.classification.foot_print.count = footPrintList.count; ret.classification.foot_print.count = footPrintList.count;
ret.classification.collection.count = collectionList.count; ret.classification.collection.count = collectionList.count;
ret.classification.order.count = orderList.count; ret.classification.order.count = orderList.count;
......
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