|
|
@ -20,7 +20,7 @@ type ( |
|
|
|
GetCouponUsersByCondition(ctx context.Context, couponId int, jwcode int, name string, pageNo int, pageSize int) (users []couponusers.GetCouponUsersRes, err error) |
|
|
|
// 根据jwcode,优惠券id删除用户
|
|
|
|
DeleteCouponUserByJwcode(ctx context.Context, couponId int, jwcode int) (result sql.Result, err error) |
|
|
|
// 通过excel导入精网号
|
|
|
|
// 通过excel导入精网号, 解析并发放卡券
|
|
|
|
InsertJwcodeByExcel(ctx context.Context, file multipart.File, couponId int) (num int, err error) |
|
|
|
// 传来jwcodes字符串,解析并发放卡券
|
|
|
|
InsertCouponUsersByJwcodeStr(ctx context.Context, jwcodeStr string, couponId int) (num int, err error) |
|
|
@ -32,7 +32,6 @@ type ( |
|
|
|
IsEligibleUser(ctx context.Context, jwcode int, couponIds []int) (img string, err error) |
|
|
|
// 给单个用户发放卡券
|
|
|
|
IssueCouponToUser(ctx context.Context, jwcode int, couponId int) (err error) |
|
|
|
/*未编写*/ |
|
|
|
// 导出拥有卡券的用户列表
|
|
|
|
ExportCouponUsers(r *ghttp.Request, couponId int, jwcode int, name string, pageNo int, pageSize int) |
|
|
|
// 添加用户选择武器记录
|
|
|
|