mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-12-13 12:39:58 +08:00
重构gateway和shop模拟商城
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user