Skip to content

Commit

Permalink
update folder
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangbiao committed Jan 19, 2020
1 parent d400969 commit a0c15df
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

var TableInfo g.MapStrStr

func Start() {
func StartLog() {
var dbName = "gmanager"
link := g.Config().GetString("database.link")
if link != "" {
Expand Down
2 changes: 1 addition & 1 deletion app/service/log/logSvc.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"errors"
"github.com/gogf/gf/os/glog"
"github.com/gogf/gf/util/gconv"
"gmanager/app/component/started"
"gmanager/app/constants"
"gmanager/app/model/log"
"gmanager/module/component/started"
"gmanager/utils"
"gmanager/utils/base"
"reflect"
Expand Down
1 change: 0 additions & 1 deletion module/component/hook/CommonHook.go

This file was deleted.

2 changes: 1 addition & 1 deletion module/system/logModel.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"github.com/gogf/gf/frame/g"
"github.com/gogf/gf/os/glog"
"github.com/gogf/gf/util/gconv"
"gmanager/module/component/started"
"gmanager/app/component/started"
"gmanager/utils/base"
"reflect"
)
Expand Down
6 changes: 3 additions & 3 deletions router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"gmanager/app/api/menu"
"gmanager/app/api/role"
"gmanager/app/api/user"
"gmanager/app/component/middle"
"gmanager/app/component/started"
"gmanager/app/constants"
"gmanager/module/component/middle"
"gmanager/module/component/started"
"gmanager/utils/base"
"strings"
)
Expand Down Expand Up @@ -150,7 +150,7 @@ func init() {
// }
//})

started.Start()
started.StartLog()

glog.Info("########router finish.")
}

0 comments on commit a0c15df

Please sign in to comment.