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

+ 1 - 1
app/Services/TencentImFriendService.php

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