|
@@ -274,7 +274,7 @@ class AiView(View):
|
|
try:
|
|
try:
|
|
# 获取数据组织将要请求的url
|
|
# 获取数据组织将要请求的url
|
|
iot = iotdeviceInfoModel.objects.filter(
|
|
iot = iotdeviceInfoModel.objects.filter(
|
|
- thing_name=thing_name).values(
|
|
|
|
|
|
+ thing_name__icontains=thing_name).values(
|
|
'endpoint', 'token_iot_number')
|
|
'endpoint', 'token_iot_number')
|
|
if not iot.exists():
|
|
if not iot.exists():
|
|
return False
|
|
return False
|