13
This commit is contained in:
@@ -244,9 +244,13 @@ class HookController{
|
||||
//群成员进群之前的回调
|
||||
public function callbackBeforeMembersJoinGroupCommand(Request $request):Response
|
||||
{
|
||||
log_alert(Input());
|
||||
$groupID = Input('groupID');
|
||||
$memberList = Input('memberList');
|
||||
$ownerID = $this->getGroupOwner($groupID);
|
||||
if(!$ownerID){
|
||||
return $this->success();
|
||||
}
|
||||
//获取群组当前用户数量
|
||||
$group_user_count = cache('group_'.$groupID.'_user_count');
|
||||
if($group_user_count === null){
|
||||
@@ -353,7 +357,7 @@ class HookController{
|
||||
"actionCode" => 0,
|
||||
"errCode" => $code,
|
||||
"errMsg" => $msg,
|
||||
"errDlt" => $msg,
|
||||
"errDlt" => '',
|
||||
"nextCode"=> $nextCode
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user