Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrderService ¶
type CreateOrderService struct { Action string `json:"action" binding:"required,eq=group|eq=pack|eq=score"` Method string `json:"method" binding:"required,eq=alipay|eq=score|eq=payjs|eq=wechat|eq=custom"` ID int64 `json:"id" binding:"required"` Num int `json:"num" binding:"required,min=1"` }
CreateOrderService 创建订单服务
type OrderService ¶
type OrderService struct {
ID string `uri:"id" binding:"required"`
}
OrderService 订单查询
type RedeemData ¶
type RedeemData struct { Name string `json:"name"` Type int `json:"type"` Num int `json:"num"` Time int64 `json:"time"` }
兑换码信息
type RedeemService ¶
type RedeemService struct {
Code string `uri:"code" binding:"required,max=64"`
}
RedeemService 兑换服务
Click to show internal directories.
Click to hide internal directories.