@RestController @RequestMapping(value="/outgiving") @Feature(cls=OUTGIVING) public class OutGivingController extends BaseServerController
NODE_ID, nodeService
Constructor and Description |
---|
OutGivingController(OutGivingServer outGivingServer,
BuildInfoService buildService,
DbOutGivingLogService dbOutGivingLogService,
ProjectInfoCacheService projectInfoCacheService) |
Modifier and Type | Method and Description |
---|---|
String |
dispatchList()
load dispatch list
加载分发列表
|
String |
dispatchListAll()
load dispatch list
加载分发列表
|
String |
releaseDel(String id)
删除分发信息
|
String |
save(String type,
String id) |
String |
unbind(String id)
解绑
|
checkCron, getNode, getUser, getUserByThreadLocal, getUserModel, removeAll, removeEmpty, resetInfo, 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
public OutGivingController(OutGivingServer outGivingServer, BuildInfoService buildService, DbOutGivingLogService dbOutGivingLogService, ProjectInfoCacheService projectInfoCacheService)
@PostMapping(value="dispatch-list", produces="application/json") @Feature(method=LIST) public String dispatchList()
@GetMapping(value="dispatch-list-all", produces="application/json") @Feature(method=LIST) public String dispatchListAll()
@RequestMapping(value="save", method=POST, produces="application/json") @Feature(method=EDIT) public String save(String type, @ValidatorItem String id) throws IOException
IOException
@RequestMapping(value="release_del.json", method=POST, produces="application/json") @Feature(method=DEL) public String releaseDel(String id)
id
- 分发idCopyright © 2017–2022. All rights reserved.