feat(redeem): add redeem code batch update

This commit is contained in:
wucm667
2026-05-20 16:08:41 +08:00
parent 7ec61eb2f5
commit 3263ca63c7
18 changed files with 1144 additions and 7 deletions
@@ -1849,6 +1849,10 @@ func (stubRedeemCodeRepo) Update(ctx context.Context, code *service.RedeemCode)
return errors.New("not implemented")
}
func (stubRedeemCodeRepo) BatchUpdate(ctx context.Context, ids []int64, fields service.RedeemCodeBatchUpdateFields) (int64, error) {
return int64(len(ids)), nil
}
func (stubRedeemCodeRepo) Delete(ctx context.Context, id int64) error {
return errors.New("not implemented")
}