Authored by 郝肖肖

'code-check'

... ... @@ -44,7 +44,7 @@ module.exports = class extends global.yoho.BaseModel {
} else if (vip.current_total_growth <= vip.grades[2].val) {
vip.current_total_percent = (vip.current_total_growth * scale / vip.grades[2].val + scale);
} else if (vip.current_total_growth <= vip.grades[3].val) {
vip.current_total_percent = (vip.current_total_growth * scale / vip.grades[3].val + scale * 2)
vip.current_total_percent = (vip.current_total_growth * scale / vip.grades[3].val + scale * 2);
}
vip.current_total_percent = (vip.current_total_percent * 100).toFixed(2);
... ...