xiaogang vor 4 Jahren
Ursprung
Commit
b0afee9f90
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      app/Services/HomeService.php

+ 2 - 1
app/Services/HomeService.php

xqd
@@ -281,8 +281,9 @@ class HomeService
         }
 
         $tencentim = new TencentImFriendService();
+        dd($user->tencent_im_user_id,$touser->tencent_im_user_id);
         $res = $tencentim->friend_black_add($user->tencent_im_user_id,$touser->tencent_im_user_id);
-        dd($res);
+
         if(UserBlacklistModel::query()->where(['user_id'=>$user->id,'black_id'=>$param['user_id']])->first()){
             throw new Exception("该用户已被拉黑");
         }