Explorar el Código

fix bug

release_toaliyun_real
winter hace 4 años
padre
commit
698595c50f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      mallinkSchedule/src/main/java/com/iformall/schedule/CouponOrderExpiringSchedule.java

+ 2
- 1
mallinkSchedule/src/main/java/com/iformall/schedule/CouponOrderExpiringSchedule.java Ver fichero

@@ -86,7 +86,8 @@ public class CouponOrderExpiringSchedule {

}

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


Cargando…
Cancelar
Guardar