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
4fb7598b
Commit
4fb7598b
authored
Aug 08, 2019
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
常规BUG的修改
parent
8806a540
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
BaseRequestAspect.java
...ain/java/com/yanzuoguang/cloud/aop/BaseRequestAspect.java
+4
-4
No files found.
yzg-util-cloud/src/main/java/com/yanzuoguang/cloud/aop/BaseRequestAspect.java
View file @
4fb7598b
...
...
@@ -42,10 +42,10 @@ public class BaseRequestAspect implements ThreadNext.Next {
@Value
(
"${yzg.reqSize:5000}"
)
private
int
reqSize
;
@Value
(
"${yzg.log.notFilter:
login
}"
)
@Value
(
"${yzg.log.notFilter:
^.*login.*$
}"
)
private
String
notFilter
;
@Value
(
"${yzg.log.filter:
log
}"
)
@Value
(
"${yzg.log.filter:
^.*log.*$
}"
)
private
String
filter
;
@Autowired
...
...
@@ -201,8 +201,8 @@ public class BaseRequestAspect implements ThreadNext.Next {
* @return
*/
private
boolean
isLog
(
String
name
,
String
url
)
{
boolean
no
tFilter
=
applicationName
.
matches
(
filter
)
||
name
.
matches
(
filter
)
||
url
.
matches
(
f
ilter
);
if
(
no
t
Filter
)
{
boolean
no
Filter
=
applicationName
.
matches
(
notFilter
)
||
name
.
matches
(
notFilter
)
||
url
.
matches
(
notF
ilter
);
if
(
noFilter
)
{
return
false
;
}
...
...
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