同步 master 分支代码

This commit is contained in:
YunaiV
2023-09-28 15:28:40 +08:00
parent 5913ee0706
commit 9cd36abf10
7 changed files with 32 additions and 32 deletions

View File

@@ -14,13 +14,13 @@ import javax.annotation.Resource;
* @author owen
*/
@Component
@TenantJob
public class CouponExpireJob implements JobHandler {
@Resource
private CouponService couponService;
@Override
@TenantJob
public String execute(String param) {
int count = couponService.expireCoupon();
return StrUtil.format("过期优惠券 {} 个", count);