1
This commit is contained in:
@@ -207,7 +207,7 @@ public class JDUtils {
|
||||
* 扫描订单发送到微信
|
||||
* 每分钟的30秒执行一次
|
||||
*/
|
||||
@Scheduled(cron = "*/10 * * * * ?")
|
||||
@Scheduled(cron = "*/2 * * * * ?")
|
||||
public void sendOrderToWx() {
|
||||
//long start = System.currentTimeMillis();
|
||||
int[] validCodes = {-1};
|
||||
|
||||
@@ -54,7 +54,7 @@ public class OrderUtil {
|
||||
|
||||
// 更新 Redis 状态值
|
||||
redisTemplate.opsForValue().set(ORDER_ROW_KEY + orderRow.getId(), String.valueOf(orderRow.getValidCode()));
|
||||
logger.info("订单状态:{} 订单号:{} sku:{}", orderRow.getValidCode(), orderRow.getOrderId(), orderRow.getSkuName());
|
||||
//logger.info("订单状态:{} 订单号:{} sku:{}", orderRow.getValidCode(), orderRow.getOrderId(), orderRow.getSkuName());
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user