Browse Source

设备影子上报日志加UID

zhangdongming 1 year ago
parent
commit
0413ec5679
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/ShadowController.py

+ 1 - 1
Controller/ShadowController.py

@@ -167,7 +167,7 @@ def update_device_shadow(request):
                 'time': int(time.time()),
                 'content': json.dumps(content),
                 'url': 'deviceShadow/updateV2',
-                'operation': '新增uidSet影子数据',
+                'operation': f'新增uidSet影子数据{uid}',
             }
             LogModel.objects.create(**log)
         LOGGER.info('***设备影子保存成功{}'.format(uid))