xiaogang 4 rokov pred
rodič
commit
88e127b4f5
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/Services/TencentImFriendService.php

+ 1 - 1
app/Services/TencentImFriendService.php

xqd
@@ -237,7 +237,7 @@ class TencentImFriendService
         $baseApiHost = $this->getTencentImRestApiBaseHost();
         $params = [
             'From_Account' => $fromAccount,
-            'To_Account' => $toAccount,
+            'To_Account' => array($toAccount),
         ];
         $apiResult = $this->requestApi($baseApiHost, $params);
         return $apiResult;