...
|
...
|
@@ -21,6 +21,15 @@ use think\Validate; |
|
|
*/
|
|
|
class MemberCenterController extends RestBaseController
|
|
|
{
|
|
|
public function _initialize()
|
|
|
{
|
|
|
$user_id = $this->getUserId();
|
|
|
$userModel = new UserModel();
|
|
|
$user = $userModel->where(array('id'=>$user_id))->find();
|
|
|
if($user['user_status'] == 0){
|
|
|
$this->error('兄嘚,你已被列入黑名单!');
|
|
|
}
|
|
|
}
|
|
|
/**
|
|
|
* @title 个人中心
|
|
|
* @description 个人中心
|
...
|
...
|
|