| 程序包 | 说明 |
|---|---|
| com.droxy.common | |
| com.droxy.spring.component | |
| com.droxy.util | |
| com.droxy.weixin |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> Response<T> |
Response.createFail() |
static <T> Response<T> |
Response.createFail(ResponseCode responseCode) |
static <T> Response<T> |
Response.createFail(ResponseCode responseCode,
Map<String,Object> params) |
static <T> Response<T> |
Response.createFail(ResponseCode responseCode,
Map<String,Object> params,
T data) |
static <T> Response<T> |
Response.createFail(ResponseCode responseCode,
T data) |
static <T> Response<T> |
Response.createFail(String msg) |
static <T> Response<T> |
Response.createSuccess() |
static Response<Object> |
Response.createSuccess(Page page) |
static <T> Response<T> |
Response.createSuccess(String msg) |
static <T> Response<T> |
Response.createSuccess(String msg,
T data) |
static <T> Response<T> |
Response.createSuccess(T data) |
| 限定符和类型 | 方法和说明 |
|---|---|
Response |
ControllerExceptionHandler.bindException(org.springframework.validation.BindException e)
类型转换失败
|
Response |
ControllerExceptionHandler.exception(Throwable e)
方法出错
|
Response |
ControllerExceptionHandler.httpMediaTypeNotAcceptableException(org.springframework.web.HttpMediaTypeNotAcceptableException e)
参数格式错误
|
Response |
ControllerExceptionHandler.httpMediaTypeNotSupportedException(org.springframework.web.HttpMediaTypeNotSupportedException e)
请求格式错误(application/x-www-form-urlencoded、application/json)
|
Response |
ControllerExceptionHandler.httpRequestMethodNotSupportedException(org.springframework.web.HttpRequestMethodNotSupportedException e)
方法类型不支持(get、post)
|
Response |
ControllerExceptionHandler.missingServletRequestParameterException(javax.servlet.http.HttpServletRequest request,
org.springframework.web.bind.MissingServletRequestParameterException e)
缺少参数
|
Response |
ControllerExceptionHandler.showMessageException(ShowMessageException e)
传递错误消息
|
Response |
ControllerExceptionHandler.typeMismatchException(javax.servlet.http.HttpServletRequest request,
org.springframework.beans.TypeMismatchException e)
参数类型不匹配
|
Response |
ProjectConfig.uploadFile(javax.servlet.http.HttpServletRequest request,
String fieldName) |
Response |
ProjectConfig.uploadFile(javax.servlet.http.HttpServletRequest request,
String fieldName,
float scale,
int width,
int height,
float quality)
上传文件
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Response |
Util.cmd(String cmd) |
static Response |
Util.cmd(String cmd,
File workFile)
同步执行cmd获取结果
|
| 限定符和类型 | 方法和说明 |
|---|---|
Response |
WeixinUtil.createMenu(String appId,
String appsecret,
WeixinMenu weiXinMenu) |
Response |
WeixinUtil.createTag(String appId,
String appsecret,
String tagName) |
Response |
WeixinUtil.deleteAllTag(String appId,
String appsecret) |
Response |
WeixinUtil.deleteTag(String appId,
String appsecret,
String tagId) |
Response |
WeixinUtil.removeMenu(String appId,
String appsecret) |
Response |
WeixinUtil.removeUserTag(String appId,
String appsecret,
String tagId,
String openId) |
Response |
WeixinUtil.setRamark(String appId,
String appsecret,
String opneId,
String remark) |
Response |
WeixinUtil.setUserTag(String appId,
String appsecret,
String tagId,
String openId) |
Response |
WeixinUtil.updateTag(String appId,
String appsecret,
String tagId,
String tagName) |
Copyright © 2021. All rights reserved.