|
@@ -3,7 +3,7 @@ package v1
|
|
|
import "github.com/gogf/gf/v2/frame/g"
|
|
|
|
|
|
type CreateNewSessionReq struct {
|
|
|
- g.Meta `path:"/aiSearch/session/newCreate" tags:"AiSearch" method:"get" summary:"创建新会话"`
|
|
|
+ g.Meta `path:"/session/newCreate" tags:"AiSearch" method:"get" summary:"创建新会话"`
|
|
|
}
|
|
|
|
|
|
type CreateNewSessionRes struct {
|
|
@@ -13,7 +13,7 @@ type CreateNewSessionRes struct {
|
|
|
}
|
|
|
|
|
|
type LikeSessionReq struct {
|
|
|
- g.Meta `path:"/aiSearch/session/like" tags:"AiSearch" method:"post" summary:"会话点赞"`
|
|
|
+ g.Meta `path:"/session/like" tags:"AiSearch" method:"post" summary:"会话点赞"`
|
|
|
SId string `json:"sId" dc:"当前会话id"`
|
|
|
}
|
|
|
|
|
@@ -24,7 +24,7 @@ type LikeSessionRes struct {
|
|
|
}
|
|
|
|
|
|
type HistorySsListReq struct {
|
|
|
- g.Meta `path:"/aiSearch/session/list" tags:"AiSearch" method:"get" summary:"历史会话列表"`
|
|
|
+ g.Meta `path:"/session/list" tags:"AiSearch" method:"get" summary:"历史会话列表"`
|
|
|
}
|
|
|
|
|
|
type HistorySsListRes struct {
|
|
@@ -34,7 +34,7 @@ type HistorySsListRes struct {
|
|
|
}
|
|
|
|
|
|
type SessionDetailReq struct {
|
|
|
- g.Meta `path:"/aiSearch/session/detail" tags:"AiSearch" method:"post" summary:"会话详情"`
|
|
|
+ g.Meta `path:"/session/detail" tags:"AiSearch" method:"post" summary:"会话详情"`
|
|
|
SId string `json:"sId" dc:"当前会话id"`
|
|
|
}
|
|
|
|
|
@@ -44,7 +44,7 @@ type SessionDetailRes struct {
|
|
|
Data interface{} `dc:"返回数据"`
|
|
|
}
|
|
|
type ProblemDeleteReq struct {
|
|
|
- g.Meta `path:"/aiSearch/problem/delete" tags:"AiSearch" method:"post" summary:"问题删除"`
|
|
|
+ g.Meta `path:"/problem/delete" tags:"AiSearch" method:"post" summary:"问题删除"`
|
|
|
}
|
|
|
|
|
|
type ProblemDeleteRes struct {
|
|
@@ -53,7 +53,7 @@ type ProblemDeleteRes struct {
|
|
|
Data interface{} `dc:"返回数据"`
|
|
|
}
|
|
|
type ProblemListReq struct {
|
|
|
- g.Meta `path:"/aiSearch/problem/list" tags:"AiSearch" method:"post" summary:"问题列表"`
|
|
|
+ g.Meta `path:"/problem/list" tags:"AiSearch" method:"post" summary:"问题列表"`
|
|
|
}
|
|
|
|
|
|
type ProblemListRes struct {
|
|
@@ -62,7 +62,7 @@ type ProblemListRes struct {
|
|
|
Data interface{} `dc:"返回数据"`
|
|
|
}
|
|
|
type ProblemConfigurationReq struct {
|
|
|
- g.Meta `path:"/aiSearch/problem/configuration" tags:"AiSearch" method:"post" summary:"问题配置"`
|
|
|
+ g.Meta `path:"/problem/configuration" tags:"AiSearch" method:"post" summary:"问题配置"`
|
|
|
}
|
|
|
|
|
|
type ProblemConfigurationRes struct {
|
|
@@ -71,7 +71,7 @@ type ProblemConfigurationRes struct {
|
|
|
Data interface{} `dc:"返回数据"`
|
|
|
}
|
|
|
type ProblemCollectReq struct {
|
|
|
- g.Meta `path:"/aiSearch/problem/collect" tags:"AiSearch" method:"post" summary:"问题收藏"`
|
|
|
+ g.Meta `path:"/problem/collect" tags:"AiSearch" method:"post" summary:"问题收藏"`
|
|
|
}
|
|
|
|
|
|
type ProblemCollectRes struct {
|