@Controller @RequestMapping(value="/user/log") @Feature(cls=USER) public class UserOptLogController extends BaseServerController
nodeService
Constructor and Description |
---|
UserOptLogController() |
Modifier and Type | Method and Description |
---|---|
String |
listData(int limit,
int page)
展示用户列表
|
String |
projectInfo()
展示用户列表
|
doPage, getNode, getUser, getUserModel, remove, resetInfo, 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
@RequestMapping(value="list.html", method=GET, produces="text/html") @Feature(method=LOG) public String projectInfo()
@RequestMapping(value="list_data.json", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @Feature(method=LOG) public String listData(@ValidatorConfig(value=@ValidatorItem(value=POSITIVE_INTEGER,msg="limit error"),defaultVal="10") int limit, @ValidatorConfig(value=@ValidatorItem(value=POSITIVE_INTEGER,msg="page error"),defaultVal="1") int page)
Copyright © 2017–2019. All rights reserved.