| | |
| | | */ |
| | | @Scheduled(cron = "0 0 2 * * ?") |
| | | public void BuyToSell() { |
| | | agentService.BuyToSell(); |
| | | // agentService.BuyToSell(); |
| | | agentService.BuyToSellV2(); |
| | | } |
| | | |
| | | /** |
| | | * 用户预约完成之后,根据产品周期,将用户买单变成买单 |
| | | */ |
| | | @Scheduled(cron = "0 0 3 * * ?") |
| | | public void memberLevelDown() { |
| | | agentService.memberLevelDown(); |
| | | } |
| | | |
| | | |
| | |
| | | * 买单 |
| | | * 看是否是开始显示订单的时间段,超出结束时间的买单,全部超时失败 |
| | | */ |
| | | @Scheduled(cron = "0 0/30 * * * ? ") |
| | | @Scheduled(cron = "0 0/2 * * * ? ") |
| | | public void timeGetOrderBuy() { |
| | | agentService.timeGetOrderBuy(); |
| | | } |
| | |
| | | * 买单 |
| | | * 看是否是开始显示订单的时间段,超出结束时间的买单,全部超时返还令牌 |
| | | */ |
| | | @Scheduled(cron = "0 0/30 * * * ? ") |
| | | public void timeGetOrderBuyCancel() { |
| | | agentService.timeGetOrderBuyCancel(); |
| | | } |
| | | // @Scheduled(cron = "0 0/2 * * * ? ") |
| | | // public void timeGetOrderBuyCancel() { |
| | | // agentService.timeGetOrderBuyCancel(); |
| | | // } |
| | | |
| | | |
| | | /** |