This commit is contained in:
2026-02-28 16:18:52 +08:00
parent d75fea32f7
commit 73f67b4143
10 changed files with 712 additions and 2 deletions
+5 -1
View File
@@ -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
]);
}