IP range 审核下发时拆分成单个IP
This commit is contained in:
@@ -121,6 +121,7 @@ public class ConfigServiceUtil {
|
||||
Builder header = wt.request(MediaType.APPLICATION_JSON).header("Content-Type", MediaType.APPLICATION_JSON);
|
||||
Response response= header.get();
|
||||
if( response.getStatus() == 200){
|
||||
logger.info("get result success");
|
||||
result= response.readEntity(String.class);
|
||||
// result = "{\"status\":200,\"businessCode\":2000,\"reason\":\"数据获取操作成功\","
|
||||
// + "\"msg\":\"配置ID获取成功\",\"fromuri\":\"/galaxy/service/cfg/v1/configPzIdSources\","
|
||||
@@ -158,6 +159,7 @@ public class ConfigServiceUtil {
|
||||
Builder header = wt.request(MediaType.APPLICATION_JSON).header("Content-Type", MediaType.APPLICATION_JSON);
|
||||
Response response= header.post(Entity.entity(params, MediaType.APPLICATION_JSON));
|
||||
if( response.getStatus() == 200){
|
||||
logger.info("get result success");
|
||||
result= response.readEntity(String.class);
|
||||
JsonConfig config=new JsonConfig();
|
||||
config.setExcludes(new String[]{"configCompileList"});
|
||||
|
||||
Reference in New Issue
Block a user