|
@@ -7,9 +7,9 @@ type CreateNewSessionReq struct {
|
|
|
}
|
|
|
|
|
|
type CreateNewSessionRes struct {
|
|
|
- ErrorCode int `dc:"状态码"`
|
|
|
- ErrorMsg string `dc:"错误信息"`
|
|
|
- Data interface{} `dc:"返回数据"`
|
|
|
+ ErrorCode int `json:"errorCode" dc:"状态码"`
|
|
|
+ ErrorMsg string `json:"errorMsg" dc:"错误信息"`
|
|
|
+ Data interface{} `json:"data" dc:"返回数据"`
|
|
|
}
|
|
|
|
|
|
type LikeSessionReq struct {
|
|
@@ -18,9 +18,9 @@ type LikeSessionReq struct {
|
|
|
}
|
|
|
|
|
|
type LikeSessionRes struct {
|
|
|
- ErrorCode int `dc:"状态码"`
|
|
|
- ErrorMsg string `dc:"错误信息"`
|
|
|
- Data interface{} `dc:"返回数据"`
|
|
|
+ ErrorCode int `json:"errorCode" dc:"状态码"`
|
|
|
+ ErrorMsg string `json:"errorMsg" dc:"错误信息"`
|
|
|
+ Data interface{} `json:"data" dc:"返回数据"`
|
|
|
}
|
|
|
|
|
|
type HistorySsListReq struct {
|
|
@@ -28,9 +28,9 @@ type HistorySsListReq struct {
|
|
|
}
|
|
|
|
|
|
type HistorySsListRes struct {
|
|
|
- ErrorCode int `dc:"状态码"`
|
|
|
- ErrorMsg string `dc:"错误信息"`
|
|
|
- Data interface{} `dc:"返回数据"`
|
|
|
+ ErrorCode int `json:"errorCode" dc:"状态码"`
|
|
|
+ ErrorMsg string `json:"errorMsg" dc:"错误信息"`
|
|
|
+ Data interface{} `json:"data" dc:"返回数据"`
|
|
|
}
|
|
|
|
|
|
type SessionDetailReq struct {
|
|
@@ -39,9 +39,9 @@ type SessionDetailReq struct {
|
|
|
}
|
|
|
|
|
|
type SessionDetailRes struct {
|
|
|
- ErrorCode int `dc:"状态码"`
|
|
|
- ErrorMsg string `dc:"错误信息"`
|
|
|
- Data interface{} `dc:"返回数据"`
|
|
|
+ ErrorCode int `json:"errorCode" dc:"状态码"`
|
|
|
+ ErrorMsg string `json:"errorMsg" dc:"错误信息"`
|
|
|
+ Data interface{} `json:"data" dc:"返回数据"`
|
|
|
}
|
|
|
|
|
|
type ProblemConfigurationReq struct {
|
|
@@ -49,9 +49,9 @@ type ProblemConfigurationReq struct {
|
|
|
}
|
|
|
|
|
|
type ProblemConfigurationRes struct {
|
|
|
- ErrorCode int `dc:"状态码"`
|
|
|
- ErrorMsg string `dc:"错误信息"`
|
|
|
- Data interface{} `dc:"返回数据"`
|
|
|
+ ErrorCode int `json:"errorCode" dc:"状态码"`
|
|
|
+ ErrorMsg string `json:"errorMsg" dc:"错误信息"`
|
|
|
+ Data interface{} `json:"data" dc:"返回数据"`
|
|
|
}
|
|
|
|
|
|
type ChatReq struct {
|
|
@@ -61,9 +61,9 @@ type ChatReq struct {
|
|
|
}
|
|
|
|
|
|
type ChatRes struct {
|
|
|
- ErrorCode int `dc:"状态码"`
|
|
|
- ErrorMsg string `dc:"错误信息"`
|
|
|
- Data interface{} `dc:"返回数据"`
|
|
|
+ ErrorCode int `json:"errorCode" dc:"状态码"`
|
|
|
+ ErrorMsg string `json:"errorMsg" dc:"错误信息"`
|
|
|
+ Data interface{} `json:"data" dc:"返回数据"`
|
|
|
}
|
|
|
|
|
|
type BiddingListReq struct {
|
|
@@ -71,7 +71,7 @@ type BiddingListReq struct {
|
|
|
ChatId string `json:"chatId" dc:"聊天Id"`
|
|
|
}
|
|
|
type BiddingListRes struct {
|
|
|
- ErrorCode int `dc:"状态码"`
|
|
|
- ErrorMsg string `dc:"错误信息"`
|
|
|
- Data interface{} `dc:"返回数据"`
|
|
|
+ ErrorCode int `json:"errorCode" dc:"状态码"`
|
|
|
+ ErrorMsg string `json:"errorMsg" dc:"错误信息"`
|
|
|
+ Data interface{} `json:"data" dc:"返回数据"`
|
|
|
}
|