|
@@ -1,29 +0,0 @@
|
|
|
-package com.zswl.cloud.springBtach.server.core.timer;
|
|
|
-
|
|
|
-import com.github.microservice.auth.client.content.ResultContent;
|
|
|
-import com.zhongshu.payment.client.model.order.v2.GoodsResultModel;
|
|
|
-import com.zhongshu.payment.client.service.v2.OrderService2;
|
|
|
-import com.zhongshu.payment.client.service.v2.PaymentService2;
|
|
|
-import com.zhongshu.payment.client.type.RedisEventType;
|
|
|
-import com.zswl.cloud.springBatch.client.model.dfy.Ticket.request.ScenicListRequest;
|
|
|
-import com.zswl.cloud.springBatch.client.model.dfy.Ticket.response.ScenicListResponse;
|
|
|
-import com.zswl.cloud.springBtach.server.core.api.dfy.TicketApi;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.data.redis.core.RedisTemplate;
|
|
|
-import org.springframework.scheduling.annotation.Scheduled;
|
|
|
-import org.springframework.stereotype.Component;
|
|
|
-
|
|
|
-import java.util.Set;
|
|
|
-
|
|
|
-@Component
|
|
|
-public class DfyTimer {
|
|
|
-
|
|
|
- @Autowired
|
|
|
- TicketApi ticketApi;
|
|
|
-
|
|
|
- @Scheduled(cron = "0 0 2 * * ?")
|
|
|
- public void processDelayedQueue() {
|
|
|
-
|
|
|
-
|
|
|
- }
|
|
|
-}
|