@RestController @RequestMapping(value="/node/manage/") @Feature(cls=PROJECT) @NodeDataPermission(cls=ProjectInfoCacheService.class) public class EditProjectController extends BaseServerController
NODE_ID, nodeService| Constructor and Description |
|---|
EditProjectController(ProjectInfoCacheService projectInfoCacheService,
WhitelistDirectoryService whitelistDirectoryService) |
| Modifier and Type | Method and Description |
|---|---|
String |
getProjectData(String id) |
String |
projectAccessList()
get project access list
获取项目的白名单
|
String |
saveProject()
验证lib 暂时用情况
|
String |
saveProject(String id)
保存项目
|
checkCron, getNode, getUser, getUserByThreadLocal, getUserModel, removeAll, removeEmpty, resetInfo, resetInfo, tryGetNodecheckPathSafe, pathSafeclearResources, createMultipart, getCookieValue, getHeader, getHeaders, getIp, getMultiRequest, getObject, getParameter, getParameter, getParameterInt, getParameterInt, getParameterLong, getParameterLong, getParameters, getParametersMap, getRefererParameter, getUnescapeParameter, getUnescapeParameter, getUnescapeParameters, getXssParameter, getXssParameter, getXssParameters, hasFilegetApplication, getAttribute, getClientIP, getHeaderMapValues, getRequest, getRequestAttributes, getResponse, getSession, getSessionAttribute, getSessionAttributeObj, removeSessionAttribute, setAttribute, setSessionAttribute, tryGetRequestAttributespublic EditProjectController(ProjectInfoCacheService projectInfoCacheService, WhitelistDirectoryService whitelistDirectoryService)
@RequestMapping(value="getProjectData.json",
method=POST,
produces="application/json")
public String getProjectData(@ValidatorItem
String id)
@RequestMapping(value="project-access-list",
method=POST,
produces="application/json")
public String projectAccessList()
@RequestMapping(value="saveProject",
method=POST,
produces="application/json")
@Feature(method=EDIT)
public String saveProject(String id)
id - id@RequestMapping(value="judge_lib.json",
method=POST,
produces="application/json")
public String saveProject()
Copyright © 2017–2022. All rights reserved.