xiaogang 4 年之前
父节点
当前提交
1434cb3541
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Services/HomeService.php

+ 1 - 1
app/Services/HomeService.php

@@ -283,7 +283,7 @@ class HomeService
         $tencentim = new TencentImFriendService();
         $tencentim = new TencentImFriendService();
 
 
         $res = $tencentim->friend_black_add($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($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()){
         if(UserBlacklistModel::query()->where(['user_id'=>$user->id,'black_id'=>$param['user_id']])->first()){
             throw new Exception("该用户已被拉黑");
             throw new Exception("该用户已被拉黑");
         }
         }