20 lines
1.2 KiB
Go
20 lines
1.2 KiB
Go
package requests
|
||
|
||
type UserCouponRequest struct {
|
||
GetUserCouponPage // 获取用户优惠卷列表-分页
|
||
}
|
||
|
||
// GetUserCouponPage 获取用户优惠卷列表-分页
|
||
type GetUserCouponPage struct {
|
||
Page int `json:"page" form:"page" label:"页码"`
|
||
PageSize int `json:"page_size" form:"page_size" label:"每页个数"`
|
||
UserId *int64 `json:"user_id" form:"user_id" label:"用户id"`
|
||
CouponId string `json:"coupon_id" form:"coupon_id" label:"优惠券id"`
|
||
UserCouponStatus *int `json:"user_coupon_status" form:"user_coupon_status" label:"状态"` // 状态(0:未使用 1:已使用 3:已过期)
|
||
UserName string `json:"user_name" form:"user_name" label:"用户名称"`
|
||
UserMobile string `json:"user_mobile" form:"user_mobile" label:"用户手机号"`
|
||
CouponName string `json:"coupon_name" form:"coupon_name" label:"优惠券名称"`
|
||
CouponType *int `json:"coupon_type" form:"coupon_type" label:"优惠券类型"` // (1:无门槛 2:满减)
|
||
ApplicationScope *int `json:"application_scope" form:"application_scope" label:"适用范围"` // 适用范围(1:全场通用 2:单项 3:会员)
|
||
}
|