Browse Source

问题配置提交

WH01243 5 months ago
parent
commit
bfbb1ac026
1 changed files with 2 additions and 2 deletions
  1. 2 2
      api/aiSearch/v1/aiSearchApi.go

+ 2 - 2
api/aiSearch/v1/aiSearchApi.go

@@ -6,7 +6,7 @@ import (
 )
 )
 
 
 type CreateNewSessionReq struct {
 type CreateNewSessionReq struct {
-	g.Meta `path:"/session/newCreate" tags:"AiSearch" method:"get" summary:"创建新会话"`
+	g.Meta `path:"/session/newCreate" tags:"AiSearch" method:"post" summary:"创建新会话"`
 }
 }
 
 
 type CreateNewSessionRes struct {
 type CreateNewSessionRes struct {
@@ -33,7 +33,7 @@ type LikeSessionRes struct {
 }
 }
 
 
 type HistorySsListReq struct {
 type HistorySsListReq struct {
-	g.Meta `path:"/session/history/list" tags:"AiSearch" method:"get" summary:"历史会话列表"`
+	g.Meta `path:"/session/history/list" tags:"AiSearch" method:"post" summary:"历史会话列表"`
 }
 }
 
 
 type HistorySsListRes struct {
 type HistorySsListRes struct {