...
|
...
|
@@ -45,7 +45,7 @@ class FriendsController extends WeChatBaseController |
|
|
/*检查权限*/
|
|
|
$user_id=cmf_get_current_user_id();
|
|
|
$User=new UserModel();
|
|
|
$user=$User->getUser($user_id);
|
|
|
$user=$User->getUser($user_id)->toArray();
|
|
|
$isin=$this->GroupModel->checkUser($user_id,$group_id);
|
|
|
if (empty($isin)){
|
|
|
$this->error();
|
...
|
...
|
|