|
@@ -3335,6 +3335,9 @@ public class ObjectServiceImpl extends BaseService implements IObjectService {
|
|
|
String resultStr = httpPostRequestDataPlatform(infoUrl, "{}");
|
|
|
JSONObject resultJson = JSONObject.parseObject(resultStr);
|
|
|
JSONArray contents = resultJson.getJSONArray(Result.CONTENT);
|
|
|
+ if (null==contents || contents.size()<=0){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
Map<String, String> code2rootCode = new HashMap<>();
|
|
|
for (Object object : contents) {
|
|
|
JSONObject content = (JSONObject) object;
|