Commit df82d6de authored by yanzg's avatar yanzg

不记录系统日志

parent 5bf56718
...@@ -259,7 +259,7 @@ public class BaseRequestAspect { ...@@ -259,7 +259,7 @@ public class BaseRequestAspect {
List<Annotation> annotation = new ArrayList<>(); List<Annotation> annotation = new ArrayList<>();
ArrayHelper.addList(annotation, classRequests, classPosts, classGets); ArrayHelper.addList(annotation, classRequests, classPosts, classGets);
String baseUrl = String.format("%s.%s", declaringType.getSimpleName(), name); String baseUrl = String.format("%s:%s", declaringType.getSimpleName(), name);
if (!annotation.isEmpty() && signature instanceof MethodSignature) { if (!annotation.isEmpty() && signature instanceof MethodSignature) {
MethodSignature methodSignature = (MethodSignature) signature; MethodSignature methodSignature = (MethodSignature) signature;
Method targetMethod = methodSignature.getMethod(); Method targetMethod = methodSignature.getMethod();
...@@ -299,6 +299,7 @@ public class BaseRequestAspect { ...@@ -299,6 +299,7 @@ public class BaseRequestAspect {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
if (feignClient != null) { if (feignClient != null) {
sb.append(feignClient.value()); sb.append(feignClient.value());
sb.append(":");
} }
List<RequestMapping> reqList = ArrayHelper.mergeList(classRequests, requests); List<RequestMapping> reqList = ArrayHelper.mergeList(classRequests, requests);
List<PostMapping> postList = ArrayHelper.mergeList(classPosts, posts); List<PostMapping> postList = ArrayHelper.mergeList(classPosts, posts);
......
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