1
0

2 Commits cfcab9c985 ... 43c1d526e7

Autor SHA1 Nachricht Datum
  qzy 43c1d526e7 Merge remote-tracking branch 'origin/feature/asyncOrder' into feature/asyncOrder vor 2 Wochen
  qzy 751b0311bf 10分钟未支付则关闭订单 vor 2 Wochen

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