feat: NEZ-2030 nz-talon组件 OTA 接口开发
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package net.geedge.confagent.controller;
|
||||
|
||||
import cn.hutool.log.Log;
|
||||
import net.geedge.confagent.util.Tool;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
|
||||
public abstract class BaseController {
|
||||
@@ -22,6 +23,15 @@ public abstract class BaseController {
|
||||
|
||||
@Value("${confagent.promtail.config}")
|
||||
protected String promtailConfPath;
|
||||
|
||||
@Value("${version}")
|
||||
protected String currentVersion;
|
||||
|
||||
|
||||
/**
|
||||
* aes 对称加密 密钥
|
||||
*/
|
||||
public static final byte[] AES_SECRET_KEY = Tool.HexUtil.decodeHex("bde5430614b21baf1c53bd6f616d1a39");
|
||||
|
||||
/**
|
||||
* 调用 /-/reload 接口,热加载 server 配置文件,
|
||||
|
||||
Reference in New Issue
Block a user