新增平台京东商城
This commit is contained in:
@@ -20,7 +20,6 @@ type PurchaseHandler struct {
|
||||
}
|
||||
|
||||
func init() {
|
||||
fmt.Println("test222222222222222222")
|
||||
if api.JdShopAPI != nil {
|
||||
fmt.Println("test111111111111111111111")
|
||||
CurPurchaseHandler = New()
|
||||
|
||||
3
main.go
3
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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user