This commit is contained in:
苏尹岚
2020-07-23 13:39:51 +08:00
parent 264eb23ad4
commit 24e9b4f571

View File

@@ -1,15 +1,11 @@
package jdshop package jdshop
import ( import (
"fmt"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/baseapi/platformapi/jdshopapi" "git.rosy.net.cn/baseapi/platformapi/jdshopapi"
) )
func OnCallbackMsg(msg *jdshopapi.CallBackResult) { func OnCallbackMsg(msg *jdshopapi.CallBackResult) {
fmt.Println("testcallback", utils.Format4Output(msg, false)) // fmt.Println("testcallback", utils.Format4Output(msg, false))
// if CurPurchaseHandler != nil { // if CurPurchaseHandler != nil {
// if msg.Cmd == mtwmapi.MsgTypeStoreStatusChanged { // if msg.Cmd == mtwmapi.MsgTypeStoreStatusChanged {
// response = CurPurchaseHandler.onStoreStatusChanged(msg) // response = CurPurchaseHandler.onStoreStatusChanged(msg)