feat: NEZ-2030 nz-talon组件 OTA 接口开发
This commit is contained in:
@@ -18,6 +18,11 @@ public enum RCode {
|
||||
PROMTAIL_START_CMD_ERROR(10009,"The promtail start command is error"),
|
||||
PROMTAIL_STOP_CMD_ERROR(10010,"The promtail stop command is error"),
|
||||
|
||||
OTA_FILE_CACHE_ERROR(10011,"Cache rpm package failed"),
|
||||
OTA_MD5_ERROR(10012,"MD5 is error"),
|
||||
OTA_VERSION_ERROR(10013,"The updated version is lower than the current version"),
|
||||
OTA_ATD_SERVICE_DOWN(10014,"The ATD service is down"),
|
||||
|
||||
ERROR(999, "error"); //通用错误/未知错误
|
||||
private RCode(Integer code, String msg) {
|
||||
this.code = code;
|
||||
|
||||
Reference in New Issue
Block a user