| 程序包 | 说明 |
|---|---|
| cn.sinozg.applet.common.core.base | |
| cn.sinozg.applet.common.utils |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BasePageResponse<T>
请求响应信息基类 分页返回
|
| 限定符和类型 | 方法和说明 |
|---|---|
static BaseResponse<String> |
MsgUtil.error(javax.servlet.http.HttpServletRequest request,
Exception e,
String code,
Object... params)
获取到错误信息 并且打印错误日志
|
static BaseResponse<String> |
MsgUtil.ok()
返回默认的参数 即不带任何信息返回
|
static <T> BaseResponse<T> |
MsgUtil.ok(T params)
返回具体的参数
|
Copyright © 2024. All rights reserved.