银豹创建商品测试

This commit is contained in:
苏尹岚
2020-03-20 17:46:05 +08:00
parent a61ce6e583
commit 726b5e176c
2 changed files with 4 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ type PurchaseHandler struct {
}
func init() {
fmt.Println("test1")
if api.MtwmAPI != nil {
CurPurchaseHandler = New()
partner.RegisterPurchasePlatform(CurPurchaseHandler)

View File

@@ -1,6 +1,8 @@
package yb
import (
"fmt"
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/partner"
@@ -18,6 +20,7 @@ type PurchaseHandler struct {
func init() {
// if api.YinBaoAPI != nil {
fmt.Println("test2")
CurPurchaseHandler = New()
partner.RegisterPurchasePlatform(CurPurchaseHandler)
// }