xiaogang 4 年之前
父節點
當前提交
e9cad71b5f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Services/HomeService.php

+ 2 - 2
app/Services/HomeService.php

@@ -281,9 +281,9 @@ class HomeService
         }
         }
 
 
         $tencentim = new TencentImFriendService();
         $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);
 
 
+        $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);
         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("该用户已被拉黑");
         }
         }