...
|
...
|
@@ -24,6 +24,8 @@ class UserController extends WebAction |
|
|
$leftNav = UserModel::getCenterLeftNav('编辑个人资料',$uid);
|
|
|
//用户信息-基础信息
|
|
|
$userInfo = UserModel::getUserInfo($uid);
|
|
|
//配置信息
|
|
|
$configInfo = UserData::getTipConfig($uid);
|
|
|
//联系信息
|
|
|
$userContactInfo = UserModel::getUserContactInfo($uid);
|
|
|
//习惯信息
|
...
|
...
|
@@ -35,6 +37,7 @@ class UserController extends WebAction |
|
|
'path' => $path,
|
|
|
'homeNav' => $leftNav,
|
|
|
'userThumb' => $userInfo['headIco'],
|
|
|
'isShowTip' => intval($configInfo['data']['config']['sn']),
|
|
|
'userPersonalInfo' => array(
|
|
|
'subTitle' => '会员信息',
|
|
|
'firstBox' => true,
|
...
|
...
|
@@ -49,13 +52,13 @@ class UserController extends WebAction |
|
|
'labelText' => '昵称:',
|
|
|
'value' => $userInfo['nickname'],
|
|
|
'key' => 'nickname',
|
|
|
'tips' => '昵称必须大于2而小于20个字符'
|
|
|
'tips' => '与Yoho!业务或商家品牌冲突的昵称,Yoho!将有可能收回'
|
|
|
),
|
|
|
array(
|
|
|
'labelText' => '真实姓名:',
|
|
|
'value' => $userInfo['username'],
|
|
|
'key' => 'username',
|
|
|
'tips' => '真实姓名至少2个中文,最多5个中文'
|
|
|
'tips' => '' // 4.8去掉该提示
|
|
|
)
|
|
|
),
|
|
|
'gender' => array(
|
...
|
...
|
@@ -172,7 +175,6 @@ class UserController extends WebAction |
|
|
'hotBrands' => $userLikeBrandInfo['hotBrands'],
|
|
|
)
|
|
|
);
|
|
|
|
|
|
$this->_view->display('user', array(
|
|
|
'user' => $data,
|
|
|
'meEditPage' => true
|
...
|
...
|
|