This commit is contained in:
gazebo
2018-11-06 18:52:13 +08:00
parent 9b7df85fba
commit d558573870

View File

@@ -141,8 +141,8 @@ func (a *API) GetOrderDeliveryCallbackMsg(data []byte) (msg *CallbackDeliverySta
func (a *API) GetStoreStockCallbackMsg(data []byte) (msg *CallbackStoreStockMsg, callbackResponse *CallbackResponse) {
msg = new(CallbackStoreStockMsg)
tmpMsg := make(map[string]interface{})
callbackResponse = a.getCommonOrderCallbackMsg(data, tmpMsg, true)
var tmpMsg map[string]interface{}
callbackResponse = a.getCommonOrderCallbackMsg(data, &tmpMsg, true)
if callbackResponse == nil {
msg.StationNo = utils.Interface2String(tmpMsg["stationNo"])
msg.SkuId = utils.Str2Int64(utils.Interface2String(tmpMsg["skuId"]))