|
|
|
@@ -13,7 +13,6 @@ import com.iformall.utils.MaUtil; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.scheduling.annotation.Async; |
|
|
|
import org.springframework.scheduling.annotation.Scheduled; |
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
|
|
|
|
@@ -43,7 +42,7 @@ public class OrderRefundAuditSchedule { |
|
|
|
MaUtil maUtil; |
|
|
|
|
|
|
|
@Async |
|
|
|
@Scheduled(cron = "0 */5 * * * ?")// |
|
|
|
@Scheduled(cron = "0 0 */1 * * ?")// |
|
|
|
//@Scheduled(cron = "*/10 * * * * ?") // 测试10秒中一次 |
|
|
|
public void orderQueryRefund() { |
|
|
|
|
|
|
|
@@ -131,7 +130,7 @@ public class OrderRefundAuditSchedule { |
|
|
|
return wxAppinfoMapper.findList(appinfo); |
|
|
|
} |
|
|
|
|
|
|
|
@Async |
|
|
|
|
|
|
|
@Scheduled(cron = "0 30 */1 * * ?")// 每个小时的30分钟 |
|
|
|
//@Scheduled(cron = "*/10 * * * * ?") // 测试10秒中一次 |
|
|
|
public void merchantAuditCallback() { |
|
|
|
|