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)