aa
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"git.rosy.net.cn/baseapi"
|
||||
beego "github.com/astaxie/beego/adapter"
|
||||
"github.com/astaxie/beego/core/logs"
|
||||
"github.com/astaxie/beego/server/web"
|
||||
_ "github.com/go-sql-driver/mysql" // import your used driver
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
@@ -27,4 +28,6 @@ func init() {
|
||||
|
||||
func Init() {
|
||||
SugarLogger.Infof("globals RunMode=%s", beego.BConfig.RunMode)
|
||||
AliKey = web.AppConfig.DefaultString("aliKey", "")
|
||||
AliSecret = web.AppConfig.DefaultString("aliSecret", "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user