diff --git a/server/core/server.go b/server/core/server.go index 1a8c7d6b..e7fc3a4d 100644 --- a/server/core/server.go +++ b/server/core/server.go @@ -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) diff --git a/server/go.mod b/server/go.mod index d929e36b..f289d76d 100644 --- a/server/go.mod +++ b/server/go.mod @@ -3,6 +3,7 @@ module gin-vue-admin go 1.12 require ( + github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 github.com/casbin/casbin v1.9.1 github.com/casbin/casbin/v2 v2.11.0 @@ -12,6 +13,7 @@ require ( github.com/fsnotify/fsnotify v1.4.9 github.com/fvbock/endless v0.0.0-20170109170031-447134032cb6 github.com/gin-gonic/gin v1.6.3 + github.com/go-ole/go-ole v1.2.4 // indirect github.com/go-openapi/spec v0.19.7 // indirect github.com/go-openapi/swag v0.19.8 // indirect github.com/go-playground/validator/v10 v10.3.0 // indirect diff --git a/web/src/main.js b/web/src/main.js index d9c33b43..97243f2a 100644 --- a/web/src/main.js +++ b/web/src/main.js @@ -47,7 +47,7 @@ Vue.use(APlayer, { }); -import {auth} from '@/directive/auth' +import { auth } from '@/directive/auth' // 按钮权限指令 auth(Vue) @@ -63,3 +63,10 @@ new Vue({ //引入echarts import echarts from 'echarts' Vue.prototype.$echarts = echarts; + +console.log(` + 欢迎使用 Gin-Vue-Admin + 当前版本:V2.3.2 + 默认自动化文档地址:http://127.0.0.1%s/swagger/index.html + 默认前端文件运行地址:http://127.0.0.1:8080 +`) \ No newline at end of file