Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YZG
yzg-util
Commits
558ea3b4
Commit
558ea3b4
authored
May 13, 2022
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复等待时间
parent
24e87bbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
13 deletions
+5
-13
AspectLogUrl.java
...src/main/java/com/yanzuoguang/cloud/aop/AspectLogUrl.java
+5
-13
No files found.
yzg-util-cloud/src/main/java/com/yanzuoguang/cloud/aop/AspectLogUrl.java
View file @
558ea3b4
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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment