diff --git a/apps/third/views.py b/apps/third/views.py index 36b08a73..287ec18d 100755 --- a/apps/third/views.py +++ b/apps/third/views.py @@ -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,