Commit 658bcbb7f15a3106498ad59d2d381c759ede4ee3
1 parent
ef31119a
Exists in
master
and in
1 other branch
refactor♻️:项目目录重构
Showing
3 changed files
with
3 additions
and
0 deletions
Show diff stats
common/svlog/log.go
| @@ -0,0 +1 @@ | @@ -0,0 +1 @@ | ||
| 1 | +package svmysql |
main.go
| @@ -40,6 +40,7 @@ func Init() { | @@ -40,6 +40,7 @@ func Init() { | ||
| 40 | svconst.AppName = beego.AppConfig.String("appname") | 40 | svconst.AppName = beego.AppConfig.String("appname") |
| 41 | 41 | ||
| 42 | svlog.Init() | 42 | svlog.Init() |
| 43 | + | ||
| 43 | svlog.InitAliLog(svconst.AppName) | 44 | svlog.InitAliLog(svconst.AppName) |
| 44 | 45 | ||
| 45 | if !svredis.Init() { | 46 | if !svredis.Init() { |