refactor(version): 统一版本号管理并更新至v2.8.5

将版本号从硬编码改为统一管理,使用package.json和全局变量维护版本信息
This commit is contained in:
piexlMax(奇淼
2025-08-28 13:51:54 +08:00
parent 2f7f3e5ac6
commit 9d5c93b4c3
5 changed files with 24 additions and 6 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ func RunServer() {
fmt.Printf(`
欢迎使用 gin-vue-admin
当前版本:v2.8.5
当前版本:%s
加群方式:微信号:shouzi_1994 QQ群:470239250
项目地址:https://github.com/flipped-aurora/gin-vue-admin
插件市场:https://plugin.gin-vue-admin.com
@@ -49,6 +49,6 @@ func RunServer() {
** 版权持有公司:北京翻转极光科技有限责任公司 **
** 剔除授权标识需购买商用授权:https://gin-vue-admin.com/empower/index.html **
** 感谢您对Gin-Vue-Admin的支持与关注 合法授权使用更有利于项目的长久发展**
`, address, address, global.GVA_CONFIG.MCP.SSEPath, address, global.GVA_CONFIG.MCP.MessagePath)
`, global.Version, address, address, global.GVA_CONFIG.MCP.SSEPath, address, global.GVA_CONFIG.MCP.MessagePath)
initServer(address, Router, 10*time.Minute, 10*time.Minute)
}