Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
liuqinghui committed Oct 21, 2021
1 parent 971ab01 commit a4725b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ func RunServer() {
// 打印服务信息
func printServerInfo() {
appConfig := global.GvaConfig.App
fmt.Printf("\n【 当前环境: %s 当前版本: %s 接口地址: http://%s 】\n", appConfig.Env, appConfig.Version, appConfig.Addr)
fmt.Printf("\n【 当前环境: %s 当前版本: %s 接口地址: http://%s 启动时间:%v 】\n",
appConfig.Env, appConfig.Version, appConfig.Addr,time.Now().Format("2006-01-02 15:04:05"))
}

0 comments on commit a4725b7

Please sign in to comment.