Authored by 周少峰

headIco

@@ -267,7 +267,7 @@ class CommonController extends WebAction @@ -267,7 +267,7 @@ class CommonController extends WebAction
267 267
268 //个人资料 268 //个人资料
269 $userInfo['profileName'] = $apiInfo['profile']['profile_name']; 269 $userInfo['profileName'] = $apiInfo['profile']['profile_name'];
270 - $userInfo['headIco'] = isset($apiInfo['profile']['head_ico']) && !empty($apiInfo['profile']['head_ico']) ? $apiInfo['profile']['head_ico'] : ''; 270 + $userInfo['headIco'] = isset($apiInfo['profile']['head_ico']) && !empty($apiInfo['profile']['head_ico']) ? Helpers::getImageUrl($apiInfo['profile']['head_ico'], 100 ,100) : '';
271 //VIP信息 271 //VIP信息
272 $userInfo['curLevel'] = $apiInfo['profile']['vip_info']['cur_level']; 272 $userInfo['curLevel'] = $apiInfo['profile']['vip_info']['cur_level'];
273 $userInfo['curTitle'] = $apiInfo['profile']['vip_info']['title']; 273 $userInfo['curTitle'] = $apiInfo['profile']['vip_info']['title'];