大华事件分流
This commit is contained in:
parent
6f596d9949
commit
c379de580c
|
@ -311,7 +311,8 @@ class DhCommonViewSet(CreateModelMixin, CustomGenericViewSet):
|
||||||
"819", "822", "823", "824", "826", "828",
|
"819", "822", "823", "824", "826", "828",
|
||||||
"861", "873", "881", "882", "888", "962",
|
"861", "873", "881", "882", "888", "962",
|
||||||
"963", "964", "965", "972", "973", "974",
|
"963", "964", "965", "972", "973", "974",
|
||||||
"980", "981", "989"]
|
"980", "981", "989", "1001000", "1001001",
|
||||||
|
"1001003", "1001004", "1001005", "1001006", "1001007", "1001008"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -350,7 +351,6 @@ class DhCommonViewSet(CreateModelMixin, CustomGenericViewSet):
|
||||||
"""
|
"""
|
||||||
data = request.data
|
data = request.data
|
||||||
method = data['method']
|
method = data['method']
|
||||||
category = data['category']
|
|
||||||
subsystem = data.get('subsystem', None)
|
subsystem = data.get('subsystem', None)
|
||||||
if method == 'alarm.msg' and subsystem == 'evo-accesscontrol':
|
if method == 'alarm.msg' and subsystem == 'evo-accesscontrol':
|
||||||
HrmService.swipe(data=data)
|
HrmService.swipe(data=data)
|
||||||
|
|
Loading…
Reference in New Issue