CuspayTask.java 904 B

123456789101112131415161718192021222324252627282930313233
  1. package com.kmall.admin.cuspay.task;
  2. import com.kmall.admin.cuspay.biz.merch.MerchantNoticeBiz;
  3. import com.kmall.admin.cuspay.biz.wx.WxCusDeclareBiz;
  4. import com.kmall.admin.cuspay.biz.wx.WxCusDeclareQueryBiz;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.scheduling.annotation.EnableScheduling;
  7. import org.springframework.scheduling.annotation.Scheduled;
  8. import org.springframework.stereotype.Component;
  9. /**
  10. * 定时任务
  11. * @author zx
  12. * @version 1.0
  13. * 2018-05-23 09:31
  14. */
  15. @Component
  16. public class CuspayTask {
  17. @Autowired
  18. private MerchantNoticeBiz merchantNoticeBiz;
  19. @Autowired
  20. private WxCusDeclareBiz wxCusDeclareBiz;
  21. @Autowired
  22. private WxCusDeclareQueryBiz wxCusDeclareQueryBiz;
  23. @Scheduled(fixedRate = 10000)
  24. public void task() {
  25. // todo,商户通知请求回执
  26. // merchantNoticeBiz.biz(null);
  27. }
  28. }