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{