Commit 658bcbb7f15a3106498ad59d2d381c759ede4ee3

Authored by 王家文
1 parent ef31119a
Exists in master and in 1 other branch dev-wjw

refactor♻️:项目目录重构

common/svlog/log.go
@@ -18,4 +18,5 @@ func Init() { @@ -18,4 +18,5 @@ func Init() {
18 } 18 }
19 19
20 fmt.Println(svconst.AppName + " svlog init success") 20 fmt.Println(svconst.AppName + " svlog init success")
  21 +
21 } 22 }
common/svmysql/index.go 0 → 100644
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +package svmysql
@@ -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() {