Sfoglia il codice sorgente

// test

release_toaliyun_real
xhxu 3 anni fa
parent
commit
242ad0a767
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      mallinkSchedule/src/main/java/com/iformall/schedule/CouponOrderExpiringSchedule.java

+ 2
- 2
mallinkSchedule/src/main/java/com/iformall/schedule/CouponOrderExpiringSchedule.java Vedi File

@@ -87,8 +87,8 @@ public class CouponOrderExpiringSchedule {


} }


// @Scheduled(cron = "0 0 5 * * ?") // 每天凌晨00:05
@Scheduled(cron = "0 */10 * * * ?") // 测试10秒中一次
@Scheduled(cron = "0 0 5 * * ?") // 每天凌晨00:05
// @Scheduled(cron = "0 */10 * * * ?") // 测试10秒中一次
public void couponOrderRefundSchedule() { public void couponOrderRefundSchedule() {
CouponOrderExpiringSchedule proxy = (CouponOrderExpiringSchedule) AopContext.currentProxy(); CouponOrderExpiringSchedule proxy = (CouponOrderExpiringSchedule) AopContext.currentProxy();
List<WxMall> malls = getMalls(); List<WxMall> malls = getMalls();


Caricamento…
Annulla
Salva