正在显示
1 个修改的文件
包含
9 行增加
和
9 行删除
@@ -22,15 +22,15 @@ class CommentController extends HomeBaseController | @@ -22,15 +22,15 @@ class CommentController extends HomeBaseController | ||
22 | public function _initialize() | 22 | public function _initialize() |
23 | { | 23 | { |
24 | parent::_initialize(); // TODO: Change the autogenerated stub | 24 | parent::_initialize(); // TODO: Change the autogenerated stub |
25 | - Session::set('uid','3'); | ||
26 | -// $wx = new WxloginController(); | ||
27 | -// $where_member['id'] = Session::get('uid'); | ||
28 | -// $member = Db::name('Member')->where($where_member)->find(); | ||
29 | -// if($member['status'] == 8){ | ||
30 | -// $this->apiResponse('0','您已被拉黑'); | ||
31 | -// }else if(empty($member['name'])){ | ||
32 | -// $this->apiResponse('0','请先实名认证',url('Index/index')); | ||
33 | -// } | 25 | +// Session::set('uid','3'); |
26 | + $wx = new WxloginController(); | ||
27 | + $where_member['id'] = Session::get('uid'); | ||
28 | + $member = Db::name('Member')->where($where_member)->find(); | ||
29 | + if($member['status'] == 8){ | ||
30 | + $this->apiResponse('0','您已被拉黑'); | ||
31 | + }else if(empty($member['name'])){ | ||
32 | + $this->apiResponse('0','请先实名认证',url('Index/index')); | ||
33 | + } | ||
34 | 34 | ||
35 | } | 35 | } |
36 | 36 |
-
请 注册 或 登录 后发表评论