1
0

2 کامیت‌ها cfcab9c985 ... 43c1d526e7

نویسنده SHA1 پیام تاریخ
  qzy 43c1d526e7 Merge remote-tracking branch 'origin/feature/asyncOrder' into feature/asyncOrder 2 هفته پیش
  qzy 751b0311bf 10分钟未支付则关闭订单 2 هفته پیش
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      sp-service/level-one-server/src/main/java/com/pj/tb_wallet_topup/TbWalletTopupService.java

+ 1 - 1
sp-service/level-one-server/src/main/java/com/pj/tb_wallet_topup/TbWalletTopupService.java

@@ -114,7 +114,7 @@ public class TbWalletTopupService extends ServiceImpl<TbWalletTopupMapper, TbWal
 
     public void handlerTopup(String outTradeNoStr) {
         String key = wxPayProperties.getMchId() + "-" + wxPayProperties.getAppId();
-        long now = System.currentTimeMillis() / 1000 - 30 * 60;
+        long now = System.currentTimeMillis() / 1000 - 10 * 60;
         String outTradeNo = StrUtil.subBefore(outTradeNoStr, "-", true);
         String timeStr = StrUtil.subAfter(outTradeNoStr, "-", true);
         if (StrUtil.isEmpty(timeStr) || now > Long.parseLong(timeStr)) {