...
|
...
|
@@ -16,7 +16,6 @@ class GradeModel |
|
|
* 获取个人中心-会员等级数据
|
|
|
*/
|
|
|
|
|
|
|
|
|
public static function getGrade($channel, $uid) {
|
|
|
$result = array();
|
|
|
|
...
|
...
|
@@ -29,7 +28,6 @@ class GradeModel |
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
//调用接口获取数据
|
|
|
$data = GradeData::getGradeData($channel, $uid);
|
|
|
if (!empty($data['grade'])) {
|
...
|
...
|
@@ -49,7 +47,6 @@ class GradeModel |
|
|
}
|
|
|
|
|
|
//今年总消费
|
|
|
|
|
|
$result['vipGrade']['costOfThisYear'] = sprintf("%.2f", $data['grade']['current_year_cost']);
|
|
|
//升级下一等级会员的进度;
|
|
|
if($data['grade']['next_need_cost'] == 0){
|
...
|
...
|
|