- fk.
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
func OnCallbackMsg(msg *ebaiapi.CallbackMsg) (response *ebaiapi.CallbackResponse) {
|
func OnCallbackMsg(msg *ebaiapi.CallbackMsg) (response *ebaiapi.CallbackResponse) {
|
||||||
orderID := ""
|
orderID := ""
|
||||||
if response.Cmd == ebaiapi.CmdOrderCreate {
|
if msg.Cmd == ebaiapi.CmdOrderCreate {
|
||||||
orderID = msg.Body["order_id"].(string)
|
orderID = msg.Body["order_id"].(string)
|
||||||
} else {
|
} else {
|
||||||
orderID = utils.Int64ToStr(utils.MustInterface2Int64(msg.Body["order_id"]))
|
orderID = utils.Int64ToStr(utils.MustInterface2Int64(msg.Body["order_id"]))
|
||||||
|
|||||||
Reference in New Issue
Block a user