浏览代码

解码uid

locky 1 年之前
父节点
当前提交
788c78706f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Controller/SerialNumberController.py

+ 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)