diff --git a/business/partner/purchase/jdshop/jds.go b/business/partner/purchase/jdshop/jds.go index 536fb7a17..1502b19c3 100644 --- a/business/partner/purchase/jdshop/jds.go +++ b/business/partner/purchase/jdshop/jds.go @@ -20,7 +20,6 @@ type PurchaseHandler struct { } func init() { - fmt.Println("test222222222222222222") if api.JdShopAPI != nil { fmt.Println("test111111111111111111111") CurPurchaseHandler = New() diff --git a/main.go b/main.go index c3b567b5b..59532647a 100644 --- a/main.go +++ b/main.go @@ -8,6 +8,8 @@ import ( "os" "time" + "git.rosy.net.cn/jx-callback/business/partner/purchase/jdshop" + "git.rosy.net.cn/jx-callback/business/partner/purchase/yb" "github.com/astaxie/beego" @@ -77,6 +79,7 @@ func Init() { ebai.CurPurchaseHandler.StartRefreshComment() mtwm.CurPurchaseHandler.StartRefreshComment() yb.CurPurchaseHandler.StartRefreshComment() + jdshop.CurPurchaseHandler.StartRefreshComment() } misc.Init() }