mtwm.curPurchaseHandler改为CurPurchaseHandler

This commit is contained in:
gazebo
2019-10-17 18:42:40 +08:00
parent 8112e24bcb
commit 7b26c9d130
8 changed files with 26 additions and 26 deletions

View File

@@ -17,7 +17,7 @@ import (
)
var (
curPurchaseHandler *PurchaseHandler
CurPurchaseHandler *PurchaseHandler
)
type PurchaseHandler struct {
@@ -30,8 +30,8 @@ type PurchaseHandler struct {
func init() {
if api.MtwmAPI != nil {
curPurchaseHandler = New()
partner.RegisterPurchasePlatform(curPurchaseHandler)
CurPurchaseHandler = New()
partner.RegisterPurchasePlatform(CurPurchaseHandler)
}
}