mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-07 23:57:20 +08:00
修复断言错误bug
This commit is contained in:
@@ -105,6 +105,7 @@ public class GlobalException {
|
||||
*/
|
||||
@ResponseStatus(HttpStatus.OK)
|
||||
@ExceptionHandler(IllegalArgumentException.class)
|
||||
@ResponseBody
|
||||
public AjaxResult handleIllegalArgumentException(IllegalArgumentException e) {
|
||||
Integer code = HttpEnum.ASSERT_ARGUMENT_ERROR.getCode();
|
||||
String msg = Objects.requireNonNull(e.getMessage());
|
||||
|
||||
Reference in New Issue
Block a user