chore: stabilize lint and verify builds
This commit is contained in:
@@ -45,17 +45,15 @@ type Transaction struct {
|
||||
}
|
||||
|
||||
type RechargeForm struct {
|
||||
// Amount 充值金额(单位元)。
|
||||
Amount float64 `json:"amount"`
|
||||
// Method 充值方式(alipay)。
|
||||
Method string `json:"method"`
|
||||
// Code 充值码字符串(用于兑换余额)。
|
||||
Code string `json:"code"`
|
||||
}
|
||||
|
||||
type RechargeResponse struct {
|
||||
// PayParams 支付参数(透传给前端)。
|
||||
PayParams string `json:"pay_params"`
|
||||
// OrderID 充值订单ID。
|
||||
OrderID int64 `json:"order_id"`
|
||||
// Amount 充值金额(单位元)。
|
||||
Amount float64 `json:"amount"`
|
||||
}
|
||||
|
||||
type Order struct {
|
||||
|
||||
Reference in New Issue
Block a user