13 lines
420 B
Go
13 lines
420 B
Go
package v1
|
|
|
|
type CouponRequest struct {
|
|
ReceiveCoupon // 领取优惠卷
|
|
}
|
|
|
|
// ReceiveCoupon 领取优惠卷
|
|
type ReceiveCoupon struct {
|
|
Mobile string `json:"mobile" form:"mobile" validate:"required,Mobile" label:"手机号"`
|
|
CouponId string `json:"coupon_id" form:"coupon_id" validate:"required" label:"优惠卷id"`
|
|
Quantity int `json:"quantity" form:"quantity" validate:"required" label:"优惠卷数量"`
|
|
}
|