|
|
|
@@ -93,14 +93,14 @@ public class CouponSendScheduleTest { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
@Async |
|
|
|
// @Async |
|
|
|
//@Scheduled(cron = "0 0 6 1 * ?") // 每月1号发放会员的权益券 |
|
|
|
@Scheduled(cron = "0 */10 * * * ?") // 测试每天6点发券 |
|
|
|
// @Scheduled(cron = "0 */10 * * * ?") // 测试每天6点发券 |
|
|
|
//@Scheduled(cron = "*/30 * * * * ?") // 测试30秒中一次 |
|
|
|
public void couponSendMsgSchedule() { |
|
|
|
|
|
|
|
TenantEntity tenantEntity = new TenantEntity(); |
|
|
|
tenantEntity.setTenantId("1028"); |
|
|
|
tenantEntity.setTenantId("1038"); |
|
|
|
|
|
|
|
|
|
|
|
WxCouponSendInject sendInject = new WxCouponSendInject(); |
|
|
|
|