银豹创建商品测试

This commit is contained in:
苏尹岚
2020-03-20 16:55:19 +08:00
parent 5216f21a12
commit e835a93f8c
3 changed files with 7 additions and 3 deletions

View File

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