银豹创建商品测试
This commit is contained in:
@@ -119,10 +119,6 @@ var (
|
||||
// }
|
||||
|
||||
func (v *VendorSync) GetStoreHandler(vendorID int) partner.IPurchasePlatformHandler {
|
||||
fmt.Println(partner.GetPurchasePlatformFromVendorID(0))
|
||||
fmt.Println(partner.GetPurchasePlatformFromVendorID(1))
|
||||
fmt.Println(partner.GetPurchasePlatformFromVendorID(4))
|
||||
|
||||
return partner.GetPurchasePlatformFromVendorID(vendorID)
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ import (
|
||||
"git.rosy.net.cn/jx-callback/business/model"
|
||||
"git.rosy.net.cn/jx-callback/business/partner"
|
||||
"git.rosy.net.cn/jx-callback/business/partner/putils"
|
||||
"git.rosy.net.cn/jx-callback/globals/api"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -18,10 +17,10 @@ type PurchaseHandler struct {
|
||||
}
|
||||
|
||||
func init() {
|
||||
if api.YinBaoAPI != nil {
|
||||
CurPurchaseHandler = New()
|
||||
partner.RegisterPurchasePlatform(CurPurchaseHandler)
|
||||
}
|
||||
// if api.YinBaoAPI != nil {
|
||||
CurPurchaseHandler = New()
|
||||
partner.RegisterPurchasePlatform(CurPurchaseHandler)
|
||||
// }
|
||||
}
|
||||
|
||||
func New() (obj *PurchaseHandler) {
|
||||
|
||||
Reference in New Issue
Block a user