chenjunkai 6 years ago
parent
commit
2e94957641
1 changed files with 1 additions and 1 deletions
  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)