@Controller @RequestMapping(value="/outgiving") @Feature(cls=OUTGIVING) public class OutGivingController extends BaseServerController
nodeService
Constructor and Description |
---|
OutGivingController() |
Modifier and Type | Method and Description |
---|---|
String |
del(String id)
删除分发信息
|
String |
edit(String id) |
String |
list() |
String |
save(String type,
String id) |
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=LIST) public String list()
@RequestMapping(value="edit.html", method=GET, produces="text/html") @Feature(method=EDIT) public String edit(String id)
@RequestMapping(value="save", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @OptLog(value=SaveOutGiving) @Feature(method=EDIT) public String save(String type, String id) throws IOException
IOException
@RequestMapping(value="del.json", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @OptLog(value=DelOutGiving) @Feature(method=DEL) public String del(String id) throws IOException
id
- 分发idIOException
Copyright © 2017–2019. All rights reserved.