|
@@ -43,24 +43,7 @@ type SessionDetailRes struct {
|
|
|
ErrorMsg string `dc:"错误信息"`
|
|
|
Data interface{} `dc:"返回数据"`
|
|
|
}
|
|
|
-type ProblemDeleteReq struct {
|
|
|
- g.Meta `path:"/problem/delete" tags:"AiSearch" method:"post" summary:"问题删除"`
|
|
|
-}
|
|
|
|
|
|
-type ProblemDeleteRes struct {
|
|
|
- ErrorCode int `dc:"状态码"`
|
|
|
- ErrorMsg string `dc:"错误信息"`
|
|
|
- Data interface{} `dc:"返回数据"`
|
|
|
-}
|
|
|
-type ProblemListReq struct {
|
|
|
- g.Meta `path:"/problem/list" tags:"AiSearch" method:"post" summary:"问题列表"`
|
|
|
-}
|
|
|
-
|
|
|
-type ProblemListRes struct {
|
|
|
- ErrorCode int `dc:"状态码"`
|
|
|
- ErrorMsg string `dc:"错误信息"`
|
|
|
- Data interface{} `dc:"返回数据"`
|
|
|
-}
|
|
|
type ProblemConfigurationReq struct {
|
|
|
g.Meta `path:"/problem/configuration" tags:"AiSearch" method:"post" summary:"问题配置"`
|
|
|
}
|
|
@@ -70,6 +53,7 @@ type ProblemConfigurationRes struct {
|
|
|
ErrorMsg string `dc:"错误信息"`
|
|
|
Data interface{} `dc:"返回数据"`
|
|
|
}
|
|
|
+
|
|
|
type ChatReq struct {
|
|
|
g.Meta `path:"/chat" tags:"AiSearch" method:"post" summary:"聊天"`
|
|
|
SId int `json:"sId" v:"required" dc:"当前会话id"`
|
|
@@ -81,3 +65,13 @@ type ChatRes struct {
|
|
|
ErrorMsg string `dc:"错误信息"`
|
|
|
Data interface{} `dc:"返回数据"`
|
|
|
}
|
|
|
+
|
|
|
+type BiddingListReq struct {
|
|
|
+ g.Meta `path:"/bidding/List" tags:"AiSearch" method:"post" summary:"报讯列表"`
|
|
|
+ ChatId int64 `json:"chatId" dc:"聊天Id"`
|
|
|
+}
|
|
|
+type BiddingListRes struct {
|
|
|
+ ErrorCode int `dc:"状态码"`
|
|
|
+ ErrorMsg string `dc:"错误信息"`
|
|
|
+ Data interface{} `dc:"返回数据"`
|
|
|
+}
|