chore: stabilize lint and verify builds

This commit is contained in:
2026-02-06 11:51:32 +08:00
parent edede17880
commit 1782f64417
114 changed files with 3032 additions and 1345 deletions

View File

@@ -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"`
}