chenjunkai 6 년 전
부모
커밋
2e94957641
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)