新增平台京东商城

This commit is contained in:
苏尹岚
2020-05-08 17:33:09 +08:00
parent 29f83461b7
commit 232f186943
2 changed files with 3 additions and 1 deletions

View File

@@ -20,7 +20,6 @@ type PurchaseHandler struct {
} }
func init() { func init() {
fmt.Println("test222222222222222222")
if api.JdShopAPI != nil { if api.JdShopAPI != nil {
fmt.Println("test111111111111111111111") fmt.Println("test111111111111111111111")
CurPurchaseHandler = New() CurPurchaseHandler = New()

View File

@@ -8,6 +8,8 @@ import (
"os" "os"
"time" "time"
"git.rosy.net.cn/jx-callback/business/partner/purchase/jdshop"
"git.rosy.net.cn/jx-callback/business/partner/purchase/yb" "git.rosy.net.cn/jx-callback/business/partner/purchase/yb"
"github.com/astaxie/beego" "github.com/astaxie/beego"
@@ -77,6 +79,7 @@ func Init() {
ebai.CurPurchaseHandler.StartRefreshComment() ebai.CurPurchaseHandler.StartRefreshComment()
mtwm.CurPurchaseHandler.StartRefreshComment() mtwm.CurPurchaseHandler.StartRefreshComment()
yb.CurPurchaseHandler.StartRefreshComment() yb.CurPurchaseHandler.StartRefreshComment()
jdshop.CurPurchaseHandler.StartRefreshComment()
} }
misc.Init() misc.Init()
} }