浏览代码

修改自助建站-ai会话:获取会话列表的接口;

FengR 1 月之前
父节点
当前提交
69e55d9227
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/JsonRpc/PublicRpcService.php

+ 1 - 1
app/JsonRpc/PublicRpcService.php

@@ -4202,7 +4202,7 @@ class PublicRpcService implements PublicRpcServiceInterface
      */
     public function getAiSessionList(array $data): array
     {
-        $where = [];
+        $where['user_id'] = $data['user_id'];
         if(isset($data['website_id']) && !empty($data['website_id'])){
             $where['website_id'] = $data['website_id'];
         }