...
|
...
|
@@ -127,9 +127,9 @@ class UserController extends RestBaseController |
|
|
* @url /portal/User/my
|
|
|
* @method POST
|
|
|
* @header name:XX-Token require:1 default: desc:token
|
|
|
* @return user_status:1:普通会员,2:vip
|
|
|
* @return user_status:1普通会员,2vip
|
|
|
*/
|
|
|
public function my(){
|
|
|
public function my(){
|
|
|
$user=Db::name('user')->where('id',$this->getUserId())->field('user_nickname,user_status,avatar')->find();
|
|
|
$user['avatar']=cmf_get_image_preview_url( $user['avatar']);
|
|
|
$this->success('获取成功',$user);
|
...
|
...
|
|