- mtwmapi.CallbackMsg.Data to FormData

This commit is contained in:
gazebo
2019-05-12 10:07:50 +08:00
parent 0f02437823
commit 3f914afbb6
6 changed files with 34 additions and 34 deletions

View File

@@ -30,5 +30,5 @@ func OnOrderCallbackMsg(msg *mtwmapi.CallbackMsg) (response *mtwmapi.CallbackRes
}
func GetOrderIDFromMsg(msg *mtwmapi.CallbackMsg) string {
return msg.Data.Get(mtwmapi.KeyOrderID)
return msg.FormData.Get(mtwmapi.KeyOrderID)
}