@RestController(value="dev-ops-updater") @RequestMapping(value="/dev/ops/updater") public class UpdaterController extends BaseController
request, response
构造器和说明 |
---|
UpdaterController() |
限定符和类型 | 方法和说明 |
---|---|
ApiResult<String> |
build()
构建程序
|
ApiResult<Map<String,Object>> |
getVersion()
获取版本信息
|
ApiResult<Map<String,String>> |
progress()
获取升级进度
|
ApiResult<String> |
update(ApplicationVO applicationVO) |
ApiResult<String> |
updater()
更新程序
|
error, error, fail, fail, fail, getLoginID, getLoginName, getLoginOrgID, getLoginOrgName, getLoginUser, getTenantId, getUserName, i18n, i18n, isAdministrator, isDeveloper, limit, offset, ok, ok, setInsertLog, setLoginInfo, setUpdateLog, success, success, success, success, validateToken
@PostMapping(value="/update") @Transactional(rollbackFor=java.lang.Exception.class) @Permission(value="DEVELOPER") public ApiResult<String> update(@RequestBody ApplicationVO applicationVO) throws Exception
Exception
@GetMapping(value="/getVersion") @Permission(value="ADMIN") public ApiResult<Map<String,Object>> getVersion() throws BusiException, SQLException
BusiException
SQLException
@PostMapping(value="/build") @Permission(value="ADMIN") public ApiResult<String> build() throws Exception
Exception
@PostMapping(value="/updater") @Permission(value="ADMIN") public ApiResult<String> updater() throws Exception
Exception
Copyright © 2025. All rights reserved.