diff --git a/internal/cmd/cmd.go b/internal/cmd/cmd.go index fd8d67f..22ab805 100644 --- a/internal/cmd/cmd.go +++ b/internal/cmd/cmd.go @@ -1,6 +1,7 @@ package cmd import ( + "CouponBackendGo/internal/controller/coupon" "CouponBackendGo/internal/controller/couponusers" "CouponBackendGo/internal/logic/middleware" "context" diff --git a/internal/logic/couponusers/couponUsers.go b/internal/logic/couponusers/couponUsers.go index b9e22a0..c6cde3d 100644 --- a/internal/logic/couponusers/couponUsers.go +++ b/internal/logic/couponusers/couponUsers.go @@ -387,7 +387,6 @@ func (s *sCouponUsers) IssueCouponToUser(ctx context.Context, jwcode, couponId i } -/*未编写*/ // 导出拥有卡券的用户列表 func (s *sCouponUsers) ExportCouponUsers(r *ghttp.Request, couponId, jwcode int, name string, pageNo, pageSize int) { //调用查询 diff --git a/internal/service/couponusers.go b/internal/service/couponusers.go index 6dc3464..26b7408 100644 --- a/internal/service/couponusers.go +++ b/internal/service/couponusers.go @@ -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) // 添加用户选择武器记录