人脸库同步到所有智能设备
This commit is contained in:
parent
ebbfba94de
commit
94f3b7cf7d
|
@ -367,3 +367,14 @@ class DhCommonViewSet(CreateModelMixin, CustomGenericViewSet):
|
||||||
data = request.data
|
data = request.data
|
||||||
dispatch_dahua_event(data=data)
|
dispatch_dahua_event(data=data)
|
||||||
return Response()
|
return Response()
|
||||||
|
|
||||||
|
@action(methods=['post'], detail=False,
|
||||||
|
authentication_classes=[], permission_classes=[],
|
||||||
|
serializer_class=serializers.Serializer, logging_methods=[]) # 日志
|
||||||
|
def face_deploy(self, request, pk=None):
|
||||||
|
"""人脸库同步到所有智能设备
|
||||||
|
|
||||||
|
人脸库同步到所有智能设备
|
||||||
|
"""
|
||||||
|
dhClient.face_deploy()
|
||||||
|
return Response()
|
||||||
|
|
Loading…
Reference in New Issue