| 程序包 | 说明 |
|---|---|
| com.gccloud.starter.common.exception | |
| com.gccloud.starter.common.module.monitor.controller | |
| com.gccloud.starter.common.vo |
| 限定符和类型 | 方法和说明 |
|---|---|
R<String> |
GlobalExceptionHandler.authorizationException(org.apache.shiro.authz.AuthorizationException e) |
R<String> |
GlobalExceptionHandler.exception(javax.servlet.http.HttpServletRequest request,
GlobalException e)
处理自定义异常
|
R<String> |
GlobalExceptionHandler.expiredJwtException(org.apache.shiro.authz.AuthorizationException e) |
R<String> |
GlobalExceptionHandler.handleException(Exception e) |
R<String> |
GlobalExceptionHandler.httpRequestMethodNotSupportedException(org.springframework.web.HttpRequestMethodNotSupportedException e) |
R<String> |
GlobalExceptionHandler.illegalArgumentException(Exception e) |
R<String> |
GlobalExceptionHandler.unauthorizedException(org.apache.shiro.authz.AuthorizationException e) |
| 限定符和类型 | 方法和说明 |
|---|---|
R<MonitorVo> |
SysMonitorController.getData()
获取监控数据
|
| 限定符和类型 | 方法和说明 |
|---|---|
static R |
R.error()
失败
|
static R |
R.error(Integer code,
String msg)
失败
|
static R |
R.error(String msg)
失败
|
R<T> |
R.put(T data)
添加返回的数据
|
static <E> R<E> |
R.success() |
static <E> R<E> |
R.success(E data)
成功
|
Copyright © 2023. All rights reserved.