feat: speaker 接口忽略采集器5

This commit is contained in:
caoqianming 2024-11-20 16:42:19 +08:00
parent 258d4975f8
commit 3dfcbd8a8b
1 changed files with 2 additions and 1 deletions

View File

@ -437,7 +437,8 @@ class TDeviceViewSet(ListModelMixin, UpdateModelMixin, DestroyModelMixin, Custom
i['my_info'] = {} i['my_info'] = {}
if i['sn'] in tds_dict: if i['sn'] in tds_dict:
i['my_info'] = tds_dict[i['sn']] i['my_info'] = tds_dict[i['sn']]
return Response(filtered_rows) res['rows'] = filtered_rows
return Response(res)
@action(methods=['post'], detail=False, perms_map={'post': '*'}, @action(methods=['post'], detail=False, perms_map={'post': '*'},
serializer_class=Serializer, logging_methods=[]) serializer_class=Serializer, logging_methods=[])