fix:修复用户角色新增错误问题

This commit is contained in:
haoxr 2020-12-31 11:13:39 +08:00
parent 3a2c900a50
commit ee9497a950

View File

@ -35,4 +35,8 @@ public class GlobalExceptionHandler {
return Result.failed(e.getMessage()); return Result.failed(e.getMessage());
} }
@ExceptionHandler(Exception.class)
public Result handleException(Exception e) {
return Result.failed(e.getMessage());
}
} }