Commit 558ea3b4 authored by yanzg's avatar yanzg

修复等待时间

parent 24e87bbb
package com.yanzuoguang.cloud.aop; package com.yanzuoguang.cloud.aop;
import com.yanzuoguang.cloud.CloudConfig;
import com.yanzuoguang.cloud.helper.CookiesHelper; import com.yanzuoguang.cloud.helper.CookiesHelper;
import com.yanzuoguang.util.helper.ArrayHelper; import com.yanzuoguang.util.helper.ArrayHelper;
import com.yanzuoguang.util.helper.StringHelper; import com.yanzuoguang.util.helper.StringHelper;
...@@ -27,13 +26,6 @@ import java.util.List; ...@@ -27,13 +26,6 @@ import java.util.List;
*/ */
@Component @Component
public class AspectLogUrl { public class AspectLogUrl {
private final CloudConfig cloudConfig;
public AspectLogUrl(CloudConfig cloudConfig) {
this.cloudConfig = cloudConfig;
}
/** /**
* /** * /**
* 获取方法名称 * 获取方法名称
...@@ -101,17 +93,17 @@ public class AspectLogUrl { ...@@ -101,17 +93,17 @@ public class AspectLogUrl {
List<PostMapping> postList = ArrayHelper.mergeList(classPosts, posts); List<PostMapping> postList = ArrayHelper.mergeList(classPosts, posts);
List<GetMapping> getList = ArrayHelper.mergeList(classGets, gets); List<GetMapping> getList = ArrayHelper.mergeList(classGets, gets);
for (RequestMapping item : reqList) { for (RequestMapping item : reqList) {
if (item.value() != null && item.value().length > 0) { if (item.value().length > 0) {
sb.append(item.value()[0]); sb.append(item.value()[0]);
} }
} }
for (PostMapping item : postList) { for (PostMapping item : postList) {
if (item.value() != null && item.value().length > 0) { if (item.value().length > 0) {
sb.append(item.value()[0]); sb.append(item.value()[0]);
} }
} }
for (GetMapping item : getList) { for (GetMapping item : getList) {
if (item.value() != null && item.value().length > 0) { if (item.value().length > 0) {
sb.append(item.value()[0]); sb.append(item.value()[0]);
} }
} }
...@@ -129,8 +121,8 @@ public class AspectLogUrl { ...@@ -129,8 +121,8 @@ public class AspectLogUrl {
/** /**
* 根据类型获取对象 * 根据类型获取对象
* *
* @param args * @param args 参数
* @return * @return 消息实体
*/ */
public Message getMessage(Object[] args) { public Message getMessage(Object[] args) {
for (Object item : args) { for (Object item : args) {
......
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