feat: speaker 接口忽略采集器5
This commit is contained in:
parent
258d4975f8
commit
3dfcbd8a8b
|
@ -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=[])
|
||||||
|
|
Loading…
Reference in New Issue