- refactor file structure.
This commit is contained in:
5
main.go
5
main.go
@@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
bzcon "git.rosy.net.cn/jx-callback/business/controller"
|
||||
"git.rosy.net.cn/jx-callback/business/jxcallback/orderman"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"git.rosy.net.cn/jx-callback/globals/api"
|
||||
"git.rosy.net.cn/jx-callback/globals/db"
|
||||
@@ -86,9 +86,8 @@ func main() {
|
||||
if globals.CallLegacyMsgHandler {
|
||||
controller.InitOrder()
|
||||
}
|
||||
orderman.LoadPendingOrders()
|
||||
}
|
||||
bzcon.LoadPendingOrders()
|
||||
|
||||
if beego.BConfig.RunMode == "dev" {
|
||||
beego.BConfig.WebConfig.DirectoryIndex = true
|
||||
beego.BConfig.WebConfig.StaticDir["/swagger"] = "swagger"
|
||||
|
||||
Reference in New Issue
Block a user