chenjunkai 6 жил өмнө
parent
commit
2e94957641

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