...
|
...
|
@@ -54,7 +54,7 @@ class GradeModel |
|
|
//当vip等级升至顶级时,进度条满格
|
|
|
$result['vipGrade']['percent'] = 100;
|
|
|
} else {
|
|
|
$result['vipGrade']['percent'] = 100 * (round($data['grade']['current_total_cost'] / $data['grade']['next_need_cost'], 2));
|
|
|
$result['vipGrade']['percent'] = 100 * (round($data['grade']['current_year_cost'] / $data['grade']['next_need_cost'], 2));
|
|
|
}
|
|
|
|
|
|
//距离升级所需消费金额
|
...
|
...
|
|