- use auto router for callback msg.

- first normal demo api FinishedPickup added.
This commit is contained in:
gazebo
2018-08-20 15:08:36 +08:00
parent eeeab319fa
commit b69bac1182
16 changed files with 154 additions and 889 deletions

View File

@@ -11,7 +11,6 @@ import (
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"git.rosy.net.cn/jx-callback/globals/beegodb"
"git.rosy.net.cn/jx-callback/legacy/jd/controller"
"git.rosy.net.cn/jx-callback/legacy/tasks"
_ "git.rosy.net.cn/jx-callback/routers"
"github.com/astaxie/beego"
@@ -85,9 +84,6 @@ func main() {
globals.SugarLogger.Errorf("RefreshElmToken failed with error:%s", err)
return
}
if globals.CallLegacyMsgHandler {
controller.InitOrder()
}
orderman.LoadPendingOrders()
}
if beego.AppConfig.DefaultBool("enableStore", false) {