|
@@ -6,7 +6,7 @@ import (
|
|
|
)
|
|
|
|
|
|
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 {
|
|
@@ -33,7 +33,7 @@ type LikeSessionRes 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 {
|