银豹创建商品测试
This commit is contained in:
@@ -29,6 +29,7 @@ type PurchaseHandler struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
fmt.Println("test1")
|
||||||
if api.MtwmAPI != nil {
|
if api.MtwmAPI != nil {
|
||||||
CurPurchaseHandler = New()
|
CurPurchaseHandler = New()
|
||||||
partner.RegisterPurchasePlatform(CurPurchaseHandler)
|
partner.RegisterPurchasePlatform(CurPurchaseHandler)
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
package yb
|
package yb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
|
|
||||||
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
|
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
|
||||||
"git.rosy.net.cn/jx-callback/business/model"
|
"git.rosy.net.cn/jx-callback/business/model"
|
||||||
"git.rosy.net.cn/jx-callback/business/partner"
|
"git.rosy.net.cn/jx-callback/business/partner"
|
||||||
@@ -18,6 +20,7 @@ type PurchaseHandler struct {
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
// if api.YinBaoAPI != nil {
|
// if api.YinBaoAPI != nil {
|
||||||
|
fmt.Println("test2")
|
||||||
CurPurchaseHandler = New()
|
CurPurchaseHandler = New()
|
||||||
partner.RegisterPurchasePlatform(CurPurchaseHandler)
|
partner.RegisterPurchasePlatform(CurPurchaseHandler)
|
||||||
// }
|
// }
|
||||||
|
|||||||
Reference in New Issue
Block a user