提交 30a67a98 编写于 作者: chenzhehao's avatar chenzhehao

返回null判定

上级 10ebcc2c
...@@ -73,7 +73,7 @@ public class PicaLogAspectForXml { ...@@ -73,7 +73,7 @@ public class PicaLogAspectForXml {
Object result = pjp.proceed(); Object result = pjp.proceed();
String res = ""; String res = "";
if (this.contentType.get().equals("text/xml")) { if (this.contentType.get().equals("text/xml")) {
if (StringUtil.isNull(result)){ if (StringUtil.isNotNull(result)){
res = result.toString(); res = result.toString();
} }
} else if (this.contentType.get().equals("application/json")) { } else if (this.contentType.get().equals("application/json")) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册