取消门店活动输出一下

This commit is contained in:
苏尹岚
2020-07-30 08:38:50 +08:00
parent fa1c22322a
commit 09b6830da1
2 changed files with 27 additions and 7 deletions

View File

@@ -1,14 +1,17 @@
package jdshop
import (
"fmt"
"git.rosy.net.cn/baseapi/platformapi/jcqapi"
"git.rosy.net.cn/baseapi/platformapi/jdshopapi"
"git.rosy.net.cn/baseapi/utils"
)
func OnCallbackMsg(msg *jdshopapi.CallBackResult) {
fmt.Println("testcallback", utils.Format4Output(msg, false))
func OnCallbackMsg(msg *jdshopapi.CallBackResult) (err error) {
msgType := msg.MsgType
switch msgType {
case jcqapi.TopicOrderPay:
default:
return
}
// if CurPurchaseHandler != nil {
// if msg.Cmd == mtwmapi.MsgTypeStoreStatusChanged {
// response = CurPurchaseHandler.onStoreStatusChanged(msg)
@@ -32,5 +35,5 @@ func OnCallbackMsg(msg *jdshopapi.CallBackResult) {
// } */
// }
// }
// return response
return err
}