2 Commits cfcab9c985 ... 43c1d526e7

Auteur SHA1 Message Date
  qzy 43c1d526e7 Merge remote-tracking branch 'origin/feature/asyncOrder' into feature/asyncOrder il y a 2 semaines
  qzy 751b0311bf 10分钟未支付则关闭订单 il y a 2 semaines

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