diff --git a/apps/third/views_d.py b/apps/third/views_d.py index 0c066fa8..2079978b 100644 --- a/apps/third/views_d.py +++ b/apps/third/views_d.py @@ -172,7 +172,7 @@ class TDeviceViewSet(ListModelMixin, UpdateModelMixin, DestroyModelMixin, Custom @action(methods=['post'], detail=False, perms_map={'post': '*'}, serializer_class=Serializer) @transaction.atomic - def blt_speaker(self, request): + def speaker_sync(self, request): """同步喇叭通道 同步喇叭通道 @@ -197,7 +197,7 @@ class TDeviceViewSet(ListModelMixin, UpdateModelMixin, DestroyModelMixin, Custom @action(methods=['post'], detail=False, perms_map={'post': '*'}, serializer_class=Serializer) @transaction.atomic - def blt_vchannel(self, request): + def vchannel_sync(self, request): """同步视频通道 同步视频通道 @@ -223,7 +223,7 @@ class TDeviceViewSet(ListModelMixin, UpdateModelMixin, DestroyModelMixin, Custom @action(methods=['post'], detail=False, perms_map={'post': '*'}, serializer_class=Serializer) @transaction.atomic - def blt_dchannel(self, request): + def dchannel_sync(self, request): """同步门禁通道 同步门禁通道