locky 1 жил өмнө
parent
commit
788c78706f

+ 1 - 1
Controller/SerialNumberController.py

@@ -257,7 +257,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)