20 lines
1.2 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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:会员)
}