Sfoglia il codice sorgente

fix order

release_toaliyun_real
xiaohanzi 4 anni fa
parent
commit
b1c409934b
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

@@ -58,7 +58,7 @@ public class CouponOrderExpiringSchedule {
}
@Scheduled(cron = "0 */5 * * * ?") // 每天凌晨00:05
@Scheduled(cron = "0 0 5 * * ?") // 每天凌晨00:05
// @Scheduled(cron = "*/10 * * * * ?") // 测试10秒中一次
public void couponOrderExpiringSchedule() {

@@ -79,7 +79,7 @@ public class CouponOrderExpiringSchedule {

}

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


Caricamento…
Annulla
Salva