取消门店活动输出一下
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user