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);