|
@@ -66,7 +66,7 @@ public class CurrentIotServiceImpl implements CurrentIotService {
|
|
|
requestBody.put("points", parameters);
|
|
|
String response = HttpUtil.post(url, requestBody.toString(), 3000);
|
|
|
//处理iot-collect 未部署情况
|
|
|
- if(response.contains("<head><title>503 Service Temporarily Unavailable</title></head>")){
|
|
|
+ if(response.contains("<html>")){
|
|
|
return param;
|
|
|
}
|
|
|
JSONObject result = JSONObject.parseObject(response);
|