Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fd4f6052
authored
Jul 04, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除接口日志,方便暴露原始异常
1 parent
e1a77745
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
project-order/src/main/java/com/dituhui/pea/order/WebConfig.java
project-order/src/main/java/com/dituhui/pea/order/WebConfig.java
View file @
fd4f605
...
...
@@ -11,11 +11,11 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@Configuration
public
class
WebConfig
implements
WebMvcConfigurer
{
@Autowired
private
RequestInterceptor
requestInterceptor
;
//
@Autowired
//
private RequestInterceptor requestInterceptor;
@Override
public
void
addInterceptors
(
InterceptorRegistry
registry
)
{
//
registry.addInterceptor(requestInterceptor).addPathPatterns("/**");
//
registry.addInterceptor(requestInterceptor).addPathPatterns("/**");
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment