Authored by OF1706

头部banner catch修复

... ... @@ -54,7 +54,8 @@ const index = (req, res, next) => {
nextVipNeedCost: _.get(profile, 'vip_info.nextVipNeedCost', 0),
// 升级百分比
curYearCostPer: userInfo.nextVipNeedCost ? Math.round(profile.curYearCost / profile.nextVipNeedCost * 100) : 0,
curYearCostPer: userInfo.nextVipNeedCost ?
Math.round(profile.curYearCost / profile.nextVipNeedCost * 100) : 0,
// 待处理订单
order: _.get(userNum, 'wait_pay_num + wait_cargo_num + send_cargo_num', 0),
... ...