...
|
...
|
@@ -16,7 +16,6 @@ class GradeModel |
|
|
* 获取个人中心-会员等级数据
|
|
|
*/
|
|
|
|
|
|
|
|
|
public static function getGrade($channel, $uid) {
|
|
|
$result = array();
|
|
|
|
...
|
...
|
@@ -28,8 +27,7 @@ class GradeModel |
|
|
return $result;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//调用接口获取数据
|
|
|
$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){
|
...
|
...
|
@@ -86,7 +83,7 @@ class GradeModel |
|
|
|
|
|
return $result;
|
|
|
}
|
|
|
|
|
|
|
|
|
/*
|
|
|
* 获取个人中心-会员特权详情页
|
|
|
*/
|
...
|
...
|
|