From 0c503fc6c3c6432f5ce3537f6c69bda656737e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com> Date: Fri, 15 Jul 2022 21:31:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=B8=89=E6=96=B9=E8=AE=BE?= =?UTF-8?q?=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/third/views_d.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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): """同步门禁通道 同步门禁通道