|
@@ -170,9 +170,10 @@ class DetectControllerViewV2(View):
|
|
|
'IntervalTime': interval
|
|
|
}
|
|
|
}
|
|
|
- req_success = CommonService.req_publish_mqtt_msg(uid, topic_name, msg)
|
|
|
- if not req_success:
|
|
|
- return response.json(10044)
|
|
|
+ CommonService.req_publish_mqtt_msg(uid, topic_name, msg)
|
|
|
+ # req_success = CommonService.req_publish_mqtt_msg(uid, topic_name, msg)
|
|
|
+ # if not req_success:
|
|
|
+ # return response.json(10044)
|
|
|
|
|
|
uid_set_qs = UidSetModel.objects.filter(uid=uid)
|
|
|
if uid_set_qs.exists():
|