opt:修复查询站点接口 返回null问题
This commit is contained in:
@@ -86,7 +86,7 @@ public class TaskServiceServiceImpl implements TaskService {
|
||||
String result_info = JSONObject.parseObject(response.toString()).getString("ROS_String_Output");
|
||||
if (StringUtils.isBlank(result_info)) {
|
||||
returnjo.put("code", "1");
|
||||
returnjo.put("result", null);
|
||||
returnjo.put("result", arr);
|
||||
return returnjo;
|
||||
}
|
||||
String[] split = result_info.split("\\n");
|
||||
|
||||
Reference in New Issue
Block a user