优化代码

This commit is contained in:
阿沐 2022-06-21 23:08:20 +08:00
parent 34f53a3bd4
commit 956f9598b6

View File

@ -21,7 +21,7 @@ public class FastExceptionHandler {
* 处理自定义异常
*/
@ExceptionHandler(FastException.class)
public Result<String> handleRenException(FastException ex){
public Result<String> handleException(FastException ex){
return Result.error(ex.getCode(), ex.getMsg());
}