新增系统概况

This commit is contained in:
george
2018-08-13 17:15:06 +08:00
parent e16067c2dc
commit 2728edf7b0
6 changed files with 307 additions and 110 deletions

View File

@@ -17,7 +17,10 @@ import (
_ "github.com/go-sql-driver/mysql"
)
func Init() {
var StartTime int64
func Init(startTime int64) {
StartTime = startTime
dbhost := beego.AppConfig.String("db.host")
dbport := beego.AppConfig.String("db.port")
dbuser := beego.AppConfig.String("db.user")