This commit is contained in:
suyl
2021-06-24 15:34:17 +08:00
parent 179f3f1146
commit e1e735ff46

View File

@@ -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", "")
}