chore: stabilize lint and verify builds
This commit is contained in:
@@ -19,24 +19,14 @@ type OrderCreateResponse struct {
|
||||
}
|
||||
|
||||
type OrderPayForm struct {
|
||||
// Method 支付方式(alipay/balance)。
|
||||
Method string `json:"method"`
|
||||
}
|
||||
|
||||
type OrderPayResponse struct {
|
||||
// PayParams 支付参数(透传给前端)。
|
||||
PayParams string `json:"pay_params"`
|
||||
Status string `json:"status"`
|
||||
}
|
||||
|
||||
type OrderStatusResponse struct {
|
||||
// Status 订单状态(unpaid/paid/completed 等)。
|
||||
Status string `json:"status"`
|
||||
}
|
||||
|
||||
// PaymentWebhookForm 支付回调参数。
|
||||
type PaymentWebhookForm struct {
|
||||
// OrderID 订单ID。
|
||||
OrderID int64 `json:"order_id"`
|
||||
// ExternalID 第三方支付流水号。
|
||||
ExternalID string `json:"external_id"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user