chenjunkai 6 лет назад
Родитель
Сommit
d9af34ec4c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Controller/OrderContrller.py

+ 1 - 1
Controller/OrderContrller.py

@@ -111,6 +111,6 @@ class OrderView(View):
         for d in order_list:
             for did in didqs:
                 if d['UID'] == did['UID']:
-                    d['did'] = d['id']
+                    d['did'] = did['id']
                     data.append(d)
         return response.json(0, {'data': data, 'count': count})