Kaynağa Gözat

超时时间设置为10分钟,在前端调用取消前判断

wanxl 1 yıl önce
ebeveyn
işleme
ac60611413

+ 2 - 2
src/main/java/com/sqx/modules/order/service/impl/AppAppOrderServiceImpl.java

@@ -2734,9 +2734,9 @@ public class AppAppOrderServiceImpl extends ServiceImpl<AppOrderDao, TbOrder> im
             order.setStatus(0);
 
 
-//            超时时间
+//            超时时间10分钟
             Date date = new Date();
-            long time1 = date.getTime()+15*60*1000;
+            long time1 = date.getTime()+10*60*1000;
             order.setTimeOut(time1);
         }
         // 更新订单