2 コミット cfcab9c985 ... 43c1d526e7

作者 SHA1 メッセージ 日付
  qzy 43c1d526e7 Merge remote-tracking branch 'origin/feature/asyncOrder' into feature/asyncOrder 2 週間 前
  qzy 751b0311bf 10分钟未支付则关闭订单 2 週間 前

+ 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)) {