feat(user): 该更支付模式,查询模式

This commit is contained in:
2024-11-23 16:13:23 +08:00
parent 1604950f31
commit 014940d86d
21 changed files with 486 additions and 443 deletions

View File

@@ -12,8 +12,7 @@ type (
Data string `json:"data" validate:"required"`
}
QueryResp {
prepayID string `json:"prepay_id"`
OrderID int64 `json:"order_id"`
id string `json:"id"`
}
)
@@ -28,6 +27,19 @@ type Query {
QueryState string `json:"query_state"` // 查询状态
}
// 获取查询临时订单
type (
QueryProvisionalOrderReq {
Id string `path:"id"`
}
QueryProvisionalOrderResp {
Name string `json:"name"`
IdCard string `json:"id_card"`
Mobile string `json:"mobile"`
Product Product `json:"product"`
}
)
type (
QueryListReq {
Page int64 `form:"page"` // 页码