@@ -84,8 +84,9 @@ class OrderView(View):
data = []
nowTime = int(time.time())
for d in order_list:
- if d['addTime']+3600 < nowTime:
- d['status'] = 3
+ if d['status'] != 1:
+ if d['addTime'] + 3600 < nowTime:
+ d['status'] = 3
data.append(d)
return response.json(0, {'data': data, 'count': count})