@RestController @RequestMapping(value="system") public class SystemUpdateController extends BaseAgentController
projectInfoService
Constructor and Description |
---|
SystemUpdateController() |
Modifier and Type | Method and Description |
---|---|
String |
changeLog() |
String |
checkVersion()
检查是否存在新版本
|
String |
upgrade()
远程下载升级
|
String |
uploadJar() |
getNowUserName, getProjectInfoModel, getProjectInfoModel, getUserName, getWorkspaceId, tryGetProjectInfoModel, tryGetProjectInfoModel
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, resetInfo
getApplication, getAttribute, getClientIP, getHeaderMapValues, getRequest, getRequestAttributes, getResponse, getSession, getSessionAttribute, getSessionAttributeObj, removeSessionAttribute, setAttribute, setSessionAttribute, tryGetRequestAttributes
@PostMapping(value="uploadJar.json", produces="application/json") public String uploadJar() throws IOException
IOException
@PostMapping(value="change_log", produces="application/json") public String changeLog()
@PostMapping(value="check_version.json", produces="application/json") public String checkVersion()
RemoteVersion
@PostMapping(value="remote_upgrade.json", produces="application/json") public String upgrade() throws IOException
IOException
RemoteVersion
Copyright © 2017–2022. All rights reserved.