|
@@ -4,6 +4,7 @@ namespace Home; |
|
@@ -4,6 +4,7 @@ namespace Home; |
4
|
|
4
|
|
5
|
use Configs\CacheConfig;
|
5
|
use Configs\CacheConfig;
|
6
|
use LibModels\Wap\Home\GradeData;
|
6
|
use LibModels\Wap\Home\GradeData;
|
|
|
7
|
+use LibModels\Wap\Home\UserData;
|
7
|
use Plugin\Cache;
|
8
|
use Plugin\Cache;
|
8
|
use Plugin\Helpers;
|
9
|
use Plugin\Helpers;
|
9
|
|
10
|
|
|
@@ -57,7 +58,7 @@ class GradeModel |
|
@@ -57,7 +58,7 @@ class GradeModel |
57
|
//消费总计
|
58
|
//消费总计
|
58
|
$result['vipGrade']['sumCost'] = $data['costInfo']['total'];
|
59
|
$result['vipGrade']['sumCost'] = $data['costInfo']['total'];
|
59
|
//username 调用获取用户基本信息数据,获得username;
|
60
|
//username 调用获取用户基本信息数据,获得username;
|
60
|
- //$userProfile = GradeData::getUserProfileData($gender,$uid,$channel);
|
61
|
+ //var_dump(UserData::userData($uid));
|
61
|
$result['vipGrade']['name'] = '杨阳';
|
62
|
$result['vipGrade']['name'] = '杨阳';
|
62
|
//跳转url(会员特权详情)
|
63
|
//跳转url(会员特权详情)
|
63
|
$result['vipGrade']['allUrl'] = Helpers::url('/Home/preferential', null);
|
64
|
$result['vipGrade']['allUrl'] = Helpers::url('/Home/preferential', null);
|