不再使用定时任务取消超时订单
This commit is contained in:
@@ -11,7 +11,7 @@ import org.springframework.stereotype.Component;
|
|||||||
* 取消超时订单并解锁库存的定时器
|
* 取消超时订单并解锁库存的定时器
|
||||||
* Created by macro on 2018/8/24.
|
* Created by macro on 2018/8/24.
|
||||||
*/
|
*/
|
||||||
@Component
|
//@Component
|
||||||
public class OrderTimeOutCancelTask {
|
public class OrderTimeOutCancelTask {
|
||||||
private final Logger LOGGER = LoggerFactory.getLogger(OrderTimeOutCancelTask.class);
|
private final Logger LOGGER = LoggerFactory.getLogger(OrderTimeOutCancelTask.class);
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|||||||
Reference in New Issue
Block a user