Quellcode durchsuchen

Merge branch 'dev_v1.0.2_wh' of SocialPlatform/aiChat into feature/v1.0.2

王浩 vor 5 Monaten
Ursprung
Commit
26eee87b74
2 geänderte Dateien mit 2 neuen und 7 gelöschten Zeilen
  1. 2 6
      api/aiSearch/v1/aiSearchApi.go
  2. 0 1
      go.mod

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

@@ -65,9 +65,7 @@ type ProblemConfigurationReq struct {
 }
 
 type ProblemConfigurationRes struct {
-	ErrorCode int         `json:"errorCode"     dc:"状态码"`
-	ErrorMsg  string      `json:"errorMsg"    dc:"错误信息"`
-	Data      interface{} `json:"data" dc:"返回数据"`
+	Data interface{} `json:"data" dc:"返回数据"`
 }
 
 type ChatReq struct {
@@ -89,9 +87,7 @@ type BiddingListReq struct {
 	ChatId string `json:"chatId" dc:"聊天Id"`
 }
 type BiddingListRes struct {
-	ErrorCode int         `json:"errorCode"     dc:"状态码"`
-	ErrorMsg  string      `json:"errorMsg"    dc:"错误信息"`
-	Data      interface{} `json:"data" dc:"返回数据"`
+	Data []ResBidding `json:"data" dc:"返回数据"`
 }
 type ResBidding struct {
 	InfoId      string `json:"infoId" dc:"标讯id"`

+ 0 - 1
go.mod

@@ -2,7 +2,6 @@ module aiChat
 
 go 1.21
 
-toolchain go1.23.6
 
 require (
 	app.yhyue.com/moapp/jybase v0.0.0-20250220061341-81c668b6c7ea