locky 1 gadu atpakaļ
vecāks
revīzija
fc61ba6ec7
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Controller/SerialNumberController.py

+ 1 - 1
Controller/SerialNumberController.py

@@ -243,7 +243,7 @@ class SerialNumberView(View):
                     'time': now_time,
                     'content': json.dumps(content),
                     'url': 'serialNumber/attachUID',
-                    'operation': '序列号{}获取uid: {}'.format(serial, res['uid']),
+                    'operation': '序列号{}获取uid: {}'.format(serial, CommonService.decode_data(res['uid'])),
                 }
                 LogModel.objects.create(**log)
                 return response.json(0, res)