|
@@ -248,7 +248,7 @@ class cloudTestView(View):
|
|
|
# 转移AI服务
|
|
|
if old_ai_service.exists() and new_uid_set[0]['is_ai'] != 2:
|
|
|
AiService.objects.filter(id=old_ai_service[0]['id']).update(uid=new_uid, detect_status=0,
|
|
|
- detect_group='1', detect_interval=60)
|
|
|
+ detect_group='', detect_interval=60)
|
|
|
msg = {'commandType': 'AIDisable'}
|
|
|
thing_name = CommonService.query_serial_with_uid(old_uid) # 存在序列号则为使用序列号作为物品名
|
|
|
topic_name = 'ansjer/generic/{}'.format(thing_name)
|