Commit f39c643c by 284718418@qq.com

BUG修改

parent b68b14d1
...@@ -152,16 +152,16 @@ public class RequestAop { ...@@ -152,16 +152,16 @@ public class RequestAop {
if ("GET".equals(request.getMethod())) { if ("GET".equals(request.getMethod())) {
return ""; return "";
} }
if (url != null && url.matches("upload")) { if (url != null && url.indexOf("/upload")!=-1) {
return ""; return "";
} }
if (url != null && url.matches("image")) { if (url != null && url.indexOf("/image")!=-1) {
return ""; return "";
} }
try { try {
if (bodyArgs != null && bodyArgs.length > 0) { if (bodyArgs != null && bodyArgs.length > 0) {
String body = JSONArray.toJSONString(bodyArgs); String body = JSONArray.toJSONString(bodyArgs);
if (body.matches("image")) { if (body.indexOf("/image")!=-1) {
return ""; return "";
} }
return body; return body;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment