|
@@ -3,7 +3,8 @@ package v1
|
|
|
import "github.com/gogf/gf/v2/frame/g"
|
|
|
|
|
|
type CreateNewSessionReq struct {
|
|
|
- g.Meta `path:"/session/newCreate" tags:"AiSearch" method:"get" summary:"创建新会话"`
|
|
|
+ g.Meta `path:"/session/newCreate" tags:"AiSearch" method:"post" summary:"创建新会话"`
|
|
|
+ positionId int64 `json:"positionId" dc:"职位id"`
|
|
|
}
|
|
|
|
|
|
type CreateNewSessionRes struct {
|
|
@@ -13,8 +14,9 @@ type CreateNewSessionRes struct {
|
|
|
}
|
|
|
|
|
|
type LikeSessionReq struct {
|
|
|
- g.Meta `path:"/session/like" tags:"AiSearch" method:"post" summary:"会话点赞"`
|
|
|
+ g.Meta `path:"/session/answer/like" tags:"AiSearch" method:"post" summary:"回复点赞"`
|
|
|
SId string `json:"sId" dc:"当前会话id"`
|
|
|
+ QId string `json:"qId" dc:"问题id"`
|
|
|
}
|
|
|
|
|
|
type LikeSessionRes struct {
|