|
@@ -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("该用户已被拉黑");
|
|
}
|
|
}
|