@Controller @RequestMapping(value="/outgiving") @Feature(cls=OUTGIVING) public class OutGivingProjectEditController extends BaseServerController
nodeService
Constructor and Description |
---|
OutGivingProjectEditController() |
Modifier and Type | Method and Description |
---|---|
String |
delete(String id)
删除分发项目
|
String |
editProject(String id) |
String |
save(String id,
String type)
保存节点分发项目
|
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="editProject", method=GET, produces="text/html") @Feature(method=EDIT) public String editProject(String id) throws IOException
IOException
@RequestMapping(value="save_project", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @OptLog(value=SaveOutgivingProject) @Feature(method=EDIT) public String save(String id, String type) throws IOException
id
- idtype
- 类型IOException
- IO@RequestMapping(value="delete_project", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @OptLog(value=DeleteOutgivingProject) @Feature(method=DEL) public String delete(String id) throws IOException
id
- 项目idIOException
- IOCopyright © 2017–2019. All rights reserved.