寻息一键订阅bug

This commit is contained in:
曹前明 2022-09-13 17:22:33 +08:00
parent f0698ce3c2
commit 9c8c6979dd
1 changed files with 4 additions and 4 deletions

View File

@ -151,10 +151,10 @@ class XxCommonViewSet(CreateModelMixin, CustomGenericViewSet):
寻息事件一键订阅
"""
xxClient.subscribe('location', '/third/xunxi/c_location/')
xxClient.subscribe('rail', '/third/xunxi/c_rail/')
xxClient.subscribe('oneKeyAlarm', '/third/xunxi/c_one_key_alarm/')
xxClient.subscribe('lowpower', '/third/xunxi/c_lowpower/')
xxClient.subscribe('location', '/api/third/xunxi/c_location/')
xxClient.subscribe('rail', '/api/third/xunxi/c_rail/')
xxClient.subscribe('oneKeyAlarm', '/api/third/xunxi/c_one_key_alarm/')
xxClient.subscribe('lowpower', '/api/third/xunxi/c_lowpower/')
return Response()
@action(methods=['post'], detail=False,