同步三方设备

This commit is contained in:
曹前明 2022-07-15 21:31:14 +08:00
parent d89a14975b
commit 0c503fc6c3
1 changed files with 3 additions and 3 deletions

View File

@ -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):
"""同步门禁通道
同步门禁通道