新增平台京东商城
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
3
main.go
3
main.go
@@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user