From c438fb049ea6fd5ae4123b26f955cf3c51db6762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Wed, 31 Dec 2025 19:54:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Tencent.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/application/api/model/Tencent.php b/application/api/model/Tencent.php index 699a8c9a..95a7061d 100644 --- a/application/api/model/Tencent.php +++ b/application/api/model/Tencent.php @@ -1089,11 +1089,12 @@ class Tencent extends Model $admin_sig = $this->tencent_user_sig_info($im_admin); $rand = rand(111111111,9999999999); $postUrl = 'https://console.tim.qq.com/v4/live_engine_http_srv/mute_member?sdkappid='.$tencentyun_im_appid.'&identifier='.$im_admin.'&usersig='.$admin_sig.'&random='.$rand.'&contenttype=json'; - $curlPost['RoomId'] = $rid; - $curlPost['MemberList_Account'] = $uida; + $curlPost['GroupId'] = $rid; + $curlPost['Members_Account'] = $uida; $curlPost['MuteTime'] = $time; $curlPost = json_encode($curlPost); $reslut = $this->tencent_post_url($postUrl, $curlPost); + if($reslut['ActionStatus'] == 'OK'){ return ['code' => 1, 'msg' => '操作成功', 'data' => null]; }else{