Toggle navigation
Toggle navigation
This project
Loading...
Sign in
crp
/
crp-operation
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
zhongdaoyi@wondertek.com.cn
2025-08-01 11:25:00 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
21aee251a5d695d7892d0c0030377e8edeee281b
21aee251
1 parent
d18a344f
审片间接口补充延迟时间字段3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
src/main/java/com/wondertek/exception/GlobalExceptionHandler.java
src/main/java/com/wondertek/exception/GlobalExceptionHandler.java
View file @
21aee25
...
...
@@ -63,6 +63,16 @@ public class GlobalExceptionHandler {
}
@ExceptionHandler
(
value
=
BusinessException
.
class
)
@ResponseStatus
(
HttpStatus
.
BAD_REQUEST
)
public
ResultBean
handleBusinessException
(
BusinessException
e
)
{
return
responseException
(
e
.
getErrorCode
()
+
REQUEST_PARAMS_IS_NOT_EMPTY
,
e
);
}
@ExceptionHandler
(
value
=
MissingServletRequestParameterException
.
class
)
@ResponseStatus
(
HttpStatus
.
BAD_REQUEST
)
...
...
Please
register
or
login
to post a comment