You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.0 KiB
37 lines
1.0 KiB
package couponusers
|
|
|
|
type GetCouponUsersReq struct {
|
|
CouponId int `json:"couponId" dc:"卡券id"`
|
|
Jwcode int `json:"jwcode" dc:"查询条件中的精网号"`
|
|
Name string `json:"name" dc:"查询条件中的名字"`
|
|
}
|
|
|
|
type GetCouponUsersRes struct {
|
|
Name string `json:"name" dc:"姓名"`
|
|
Jwcode int `json:"jwcode" dc:"精网号"`
|
|
DeptName string `json:"deptName" dc:"部门"`
|
|
ShopName string `json:"shopName" dc:"门店"`
|
|
}
|
|
|
|
type DelCouponUserByJwcodeReq struct {
|
|
CouponId int `json:"couponId" dc:"卡券id"`
|
|
Jwcode int `json:"jwcode" dc:"精网号"`
|
|
}
|
|
|
|
type InsertCouponUserReq struct {
|
|
CouponId int `json:"couponId" dc:"卡券id"`
|
|
Jwcodes []int `json:"jwcodes" dc:"精网号"`
|
|
}
|
|
|
|
type IssueCouponUserReq struct {
|
|
CouponId int `json:"couponId" dc:"卡券id"`
|
|
}
|
|
|
|
type IsEligibleUserReq struct {
|
|
CouponIds []int `json:"couponIds" dc:"能抽出的卡券id"`
|
|
}
|
|
|
|
type AddRecordReq struct {
|
|
CouponId int `json:"couponId" dc:"卡券id"`
|
|
Name string `json:"name" dc:"选择武器名称"`
|
|
}
|