This commit is contained in:
2025-12-09 18:55:28 +08:00
parent 8d00d67540
commit c23ab8338b
209 changed files with 5445 additions and 3963 deletions

View File

@@ -9,9 +9,9 @@ info (
//============================> query v1 <============================
// 查询基本类型定义
type Query {
Id int64 `json:"id"` // 主键ID
OrderId int64 `json:"order_id"` // 订单ID
UserId int64 `json:"user_id"` // 用户ID
Id string `json:"id"` // 主键ID
OrderId string `json:"order_id"` // 订单ID
UserId string `json:"user_id"` // 用户ID
Product string `json:"product"` // 产品ID
ProductName string `json:"product_name"` // 产品ID
QueryParams map[string]interface{} `json:"query_params"`
@@ -68,7 +68,7 @@ type (
prefix: api/v1
group: query
jwt: JwtAuth
middleware: UserAuthInterceptor
middleware: AuthInterceptor
)
service main {
@doc "query service"
@@ -80,7 +80,7 @@ service main {
prefix: api/v1
group: query
jwt: JwtAuth
middleware: UserAuthInterceptor
middleware: AuthInterceptor
)
service main {
@doc "获取查询临时订单"
@@ -114,7 +114,7 @@ service main {
type (
QueryGenerateShareLinkReq {
OrderId *int64 `json:"order_id,optional"`
OrderId *string `json:"order_id,optional"`
OrderNo *string `json:"order_no,optional"`
}
QueryGenerateShareLinkResp {
@@ -154,7 +154,7 @@ type (
type (
QueryDetailByOrderIdReq {
OrderId int64 `path:"order_id"`
OrderId string `path:"order_id"`
}
)
@@ -166,7 +166,7 @@ type (
type (
QueryRetryReq {
Id int64 `path:"id"`
Id string `path:"id"`
}
QueryRetryResp {
Query
@@ -175,11 +175,11 @@ type (
type (
UpdateQueryDataReq {
Id int64 `json:"id"` // 查询ID
Id string `json:"id"` // 查询ID
QueryData string `json:"query_data"` // 查询数据(未加密的JSON)
}
UpdateQueryDataResp {
Id int64 `json:"id"`
Id string `json:"id"`
UpdatedAt string `json:"updated_at"` // 更新时间
}
)