fix: web API 版本号改为动态获取,不再硬编码

This commit is contained in:
ZacharyZcR
2026-06-01 08:34:42 +08:00
parent 37b77f9c86
commit 942f0fa6c3
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -70,6 +70,8 @@ var (
date = "unknown"
)
func GetVersion() string { return version }
// 运行时数据已迁移到Config对象中,使用GetGlobalConfig()访问
// Shell状态已迁移到State对象中,使用GetGlobalState()访问