@Controller @RequestMapping(value="/node/script") @Feature(cls=SCRIPT) public class ScriptController extends BaseServerController
nodeService
Constructor and Description |
---|
ScriptController() |
Modifier and Type | Method and Description |
---|---|
String |
console(String id) |
String |
del() |
String |
item(String id) |
String |
list() |
String |
save()
保存脚本
|
String |
upload()
导入脚本
|
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="item.html", method=GET, produces="text/html") @Feature(method=EDIT) public String item(String id)
@RequestMapping(value="save.json", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @OptLog(value=Save_Script) @Feature(method=EDIT) public String save()
@RequestMapping(value="del.json", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @OptLog(value=Save_Del) @Feature(method=DEL) public String del()
@RequestMapping(value="upload", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @OptLog(value=Save_Upload) @Feature(method=UPLOAD) public String upload()
Copyright © 2017–2019. All rights reserved.