Browse Source

解码uid

locky 1 year ago
parent
commit
fc61ba6ec7
1 changed files with 1 additions and 1 deletions
  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)