Authored by yangyang

会员等级中姓名数据,等待用户详情接口

... ... @@ -421,7 +421,7 @@ class HomeController extends AbstractAction
//显示网站导航头部信息
$this->setNavHeader('会员等级');
$uid = $this->getUid();
$uid = '8826435'; //临时测试用
$uid = '10064'; //临时测试用
$data = GradeModel::getGrade($uid);
$data['pageFooter'] = true;
$this->_view->display('vip-grade', $data);
... ...
... ... @@ -4,6 +4,7 @@ namespace Home;
use Configs\CacheConfig;
use LibModels\Wap\Home\GradeData;
use LibModels\Wap\Home\UserData;
use Plugin\Cache;
use Plugin\Helpers;
... ... @@ -57,7 +58,7 @@ class GradeModel
//消费总计
$result['vipGrade']['sumCost'] = $data['costInfo']['total'];
//username 调用获取用户基本信息数据,获得username;
//$userProfile = GradeData::getUserProfileData($gender,$uid,$channel);
//var_dump(UserData::userData($uid));
$result['vipGrade']['name'] = '杨阳';
//跳转url(会员特权详情)
$result['vipGrade']['allUrl'] = Helpers::url('/Home/preferential', null);
... ...