Ver código fonte

fix order

release_toaliyun_real
xiaohanzi 4 anos atrás
pai
commit
fe32c25618
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      mallinkSchedule/src/main/java/com/iformall/schedule/CouponOrderExpiringSchedule.java

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

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


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


} }


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


Carregando…
Cancelar
Salvar