chenjunkai 6 gadi atpakaļ
vecāks
revīzija
32645057ec
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Controller/OrderContrller.py

+ 1 - 1
Controller/OrderContrller.py

@@ -100,6 +100,6 @@ class OrderView(View):
                 else:
                     did = ''
                 d['did'] = did
-                d['endTime'] = int(d['updTime'])+int(d['rank__day']*86400)
+            d['endTime'] = int(d['updTime'])+int(d['rank__day']*86400)
             data.append(d)
         return response.json(0, {'data': data, 'count': count})