public abstract class BaseServerController extends BaseJpomController
Modifier and Type | Field and Description |
---|---|
protected NodeService |
nodeService |
Constructor and Description |
---|
BaseServerController() |
Modifier and Type | Method and Description |
---|---|
protected void |
doPage(cn.hutool.db.Page page,
cn.hutool.db.Entity entity,
String colName)
处理分页的时间字段
|
protected NodeModel |
getNode() |
protected UserModel |
getUser() |
static UserModel |
getUserModel() |
static void |
remove() |
void |
resetInfo() |
protected NodeModel |
tryGetNode() |
checkPathSafe, pathSafe
clearResources, createMultipart, getCookieValue, getHeader, getHeaders, getIp, getMultiRequest, getObject, getParameter, getParameter, getParameterInt, getParameterInt, getParameterLong, getParameterLong, getParameters, getParametersMap, getRefererParameter, getUnescapeParameter, getUnescapeParameter, getUnescapeParameters, getXssParameter, getXssParameter, getXssParameters, hasFile
getApplication, getAttribute, getClientIP, getHeaderMapValues, getRequest, getRequestAttributes, getResponse, getSession, getSessionAttribute, getSessionAttributeObj, removeSessionAttribute, setAttribute, setSessionAttribute, tryGetRequestAttributes
protected NodeService nodeService
protected NodeModel getNode()
protected NodeModel tryGetNode()
public void resetInfo()
resetInfo
in class cn.jiangzeyin.controller.base.AbstractController
protected UserModel getUser()
public static void remove()
public static UserModel getUserModel()
protected void doPage(cn.hutool.db.Page page, cn.hutool.db.Entity entity, String colName)
page
- 分页entity
- 条件colName
- 字段名称Copyright © 2017–2019. All rights reserved.