增加版本号功能

This commit is contained in:
pixel
2020-09-28 11:32:16 +08:00
parent 553980cf73
commit e5de639757
3 changed files with 13 additions and 2 deletions

View File

@@ -27,7 +27,9 @@ func RunWindowsServer() {
time.Sleep(10 * time.Microsecond)
global.GVA_LOG.Info("server run success on ", zap.String("address", address))
fmt.Printf(`欢迎使用 Gin-Vue-Admin
fmt.Printf(`
欢迎使用 Gin-Vue-Admin
当前版本:V2.3.2
默认自动化文档地址:http://127.0.0.1%s/swagger/index.html
默认前端文件运行地址:http://127.0.0.1:8080
`, address)