发送审核请求时将请求json打印到日志
This commit is contained in:
@@ -37,7 +37,7 @@ public class DnsIpCfgService extends CrudService<DnsIpCfgDao, DnsIpCfg>{
|
||||
ipCfgList.add(ipCfg);
|
||||
toMaatBean.setServiceCfg(ipCfgList);
|
||||
String sendJson = gson.toJson(toMaatBean);
|
||||
|
||||
logger.info("准备下发配置:" + sendJson);
|
||||
//下发配置、接收结果
|
||||
String recvJson = "";
|
||||
try {
|
||||
@@ -79,6 +79,7 @@ public class DnsIpCfgService extends CrudService<DnsIpCfgDao, DnsIpCfg>{
|
||||
|
||||
//给配置转换层发送、接收结果
|
||||
String sendJson = "{\"fakeId\":[" + cfgIds + "]}";
|
||||
logger.info("准备下发配置:" + sendJson);
|
||||
Boolean recv = true;
|
||||
try {
|
||||
recv = new ConvertTool().invalidDNSIPConfig(sendJson);
|
||||
|
||||
Reference in New Issue
Block a user