浏览代码

打招呼bug修复

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

+ 1 - 1
app/Services/TencentImFriendService.php

xqd
@@ -119,7 +119,7 @@ class TencentImFriendService
     public function friendAddItem(string $fromAccount, string $toAccount, array $options = [])
     {
         //TODO 请求添加好友前先拉取好友状态
-        $res = $this->friendCheck($fromAccount,$toAccount);
+        $res = $this->friendCheck($fromAccount,[$toAccount]);
         dd($res);