This commit is contained in:
gazebo
2018-10-15 11:03:00 +08:00
parent fa42da1f25
commit 2ffb32cb51

View File

@@ -9,7 +9,7 @@ import (
func OnCallbackMsg(msg *ebaiapi.CallbackMsg) (response *ebaiapi.CallbackResponse) {
orderID := ""
if response.Cmd == ebaiapi.CmdOrderCreate {
if msg.Cmd == ebaiapi.CmdOrderCreate {
orderID = msg.Body["order_id"].(string)
} else {
orderID = utils.Int64ToStr(utils.MustInterface2Int64(msg.Body["order_id"]))