chenjunkai před 6 roky
rodič
revize
2e94957641
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Controller/OrderContrller.py

+ 1 - 1
Controller/OrderContrller.py

@@ -84,7 +84,7 @@ class OrderView(View):
         data = []
         nowTime = int(time.time())
         for d in order_list:
-            if d['status'] != 1:
+            if d['status'] == 0:
                 if d['addTime'] + 3600 < nowTime:
                     d['status'] = 3
             data.append(d)