From 525cf3d9714352284b70c29f81fa73bff71cf683 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期五, 14 七月 2023 08:11:55 +0800 Subject: [PATCH] 完善AGV相关功能 --- src/main/java/com/zy/common/config/CoolExceptionHandler.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zy/common/config/CoolExceptionHandler.java b/src/main/java/com/zy/common/config/CoolExceptionHandler.java index 5ac9bae..e6b0602 100644 --- a/src/main/java/com/zy/common/config/CoolExceptionHandler.java +++ b/src/main/java/com/zy/common/config/CoolExceptionHandler.java @@ -18,10 +18,10 @@ return R.error(); } -// @ExceptionHandler(HttpRequestMethodNotSupportedException.class) -// public R handleHttpRequestMethodNotSupportedException(HttpRequestMethodNotSupportedException e) { -// return R.error(); -// } + @ExceptionHandler(HttpRequestMethodNotSupportedException.class) + public R handleHttpRequestMethodNotSupportedException(HttpRequestMethodNotSupportedException e) { + return R.error(); + } @ExceptionHandler(CoolException.class) public R handleRRException(CoolException e) { -- Gitblit v1.9.1