重构gateway和shop模拟商城

This commit is contained in:
kongyuebin
2021-09-16 16:24:34 +08:00
parent 2a98cbd9ac
commit 4967a137ec
58 changed files with 90 additions and 5644 deletions

View File

@@ -3,6 +3,7 @@ package main
import (
"github.com/beego/beego/v2/core/logs"
beego "github.com/beego/beego/v2/server/web"
_ "shop/routers"
)
func main() {
@@ -16,7 +17,7 @@ func main() {
func RegisterLogs() {
logs.SetLogger(logs.AdapterFile,
`{
"filename":"../logs/legend.log",
"filename":"../.../logs/legend.log",
"level":4,
"maxlines":0,
"maxsize":0,