@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, tryGetProjectInfoModelcheckPathSafe, pathSafeclearResources, createMultipart, getCookieValue, getHeader, getHeaders, getIp, getMultiRequest, getObject, getParameter, getParameter, getParameterInt, getParameterInt, getParameterLong, getParameterLong, getParameters, getParametersMap, getRefererParameter, getUnescapeParameter, getUnescapeParameter, getUnescapeParameters, getXssParameter, getXssParameter, getXssParameters, hasFile, resetInfogetApplication, 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
IOExceptionRemoteVersionCopyright © 2017–2022. All rights reserved.