Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
deepraining committed Sep 14, 2022
1 parent 439ac7b commit 92bb133
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

// 全局异常处理
// 注:把这个文件复制到每项目的主包名下,才能生效
// 或者启动时设置 `@SpringBootApplication(scanBasePackages = {"dr.sbs"})`
@ControllerAdvice
public class GlobalExceptionHandler {
@ResponseBody
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

// 全局异常处理
// 注:把这个文件复制到每项目的主包名下,才能生效
// 或者启动时设置 `@SpringBootApplication(scanBasePackages = {"dr.sbs"})`
@ControllerAdvice
public class GlobalExceptionHandler {
@ResponseBody
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

// 全局异常处理
// 注:把这个文件复制到每项目的主包名下,才能生效
// 或者启动时设置 `@SpringBootApplication(scanBasePackages = {"dr.sbs"})`
@ControllerAdvice
public class GlobalExceptionHandler {
@ResponseBody
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

// 全局异常处理
// 注:把这个文件复制到每项目的主包名下,才能生效
// 或者启动时设置 `@SpringBootApplication(scanBasePackages = {"dr.sbs"})`
@ControllerAdvice
public class GlobalExceptionHandler {
@ResponseBody
Expand Down

0 comments on commit 92bb133

Please sign in to comment.