123456789101112131415161718192021222324252627282930313233 |
- package com.kmall.admin.cuspay.task;
- import com.kmall.admin.cuspay.biz.merch.MerchantNoticeBiz;
- import com.kmall.admin.cuspay.biz.wx.WxCusDeclareBiz;
- import com.kmall.admin.cuspay.biz.wx.WxCusDeclareQueryBiz;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.scheduling.annotation.EnableScheduling;
- import org.springframework.scheduling.annotation.Scheduled;
- import org.springframework.stereotype.Component;
- /**
- * 定时任务
- * @author zx
- * @version 1.0
- * 2018-05-23 09:31
- */
- @Component
- public class CuspayTask {
- @Autowired
- private MerchantNoticeBiz merchantNoticeBiz;
- @Autowired
- private WxCusDeclareBiz wxCusDeclareBiz;
- @Autowired
- private WxCusDeclareQueryBiz wxCusDeclareQueryBiz;
- @Scheduled(fixedRate = 10000)
- public void task() {
- // todo,商户通知请求回执
- // merchantNoticeBiz.biz(null);
- }
- }
|