同步三方设备
This commit is contained in:
parent
d89a14975b
commit
0c503fc6c3
|
|
@ -172,7 +172,7 @@ class TDeviceViewSet(ListModelMixin, UpdateModelMixin, DestroyModelMixin, Custom
|
||||||
@action(methods=['post'], detail=False, perms_map={'post': '*'},
|
@action(methods=['post'], detail=False, perms_map={'post': '*'},
|
||||||
serializer_class=Serializer)
|
serializer_class=Serializer)
|
||||||
@transaction.atomic
|
@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': '*'},
|
@action(methods=['post'], detail=False, perms_map={'post': '*'},
|
||||||
serializer_class=Serializer)
|
serializer_class=Serializer)
|
||||||
@transaction.atomic
|
@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': '*'},
|
@action(methods=['post'], detail=False, perms_map={'post': '*'},
|
||||||
serializer_class=Serializer)
|
serializer_class=Serializer)
|
||||||
@transaction.atomic
|
@transaction.atomic
|
||||||
def blt_dchannel(self, request):
|
def dchannel_sync(self, request):
|
||||||
"""同步门禁通道
|
"""同步门禁通道
|
||||||
|
|
||||||
同步门禁通道
|
同步门禁通道
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue