diff --git a/platformapi/jdshopapi/callback.go b/platformapi/jdshopapi/callback.go index 2c906420..127be8d2 100644 --- a/platformapi/jdshopapi/callback.go +++ b/platformapi/jdshopapi/callback.go @@ -31,6 +31,7 @@ type CallBackResult struct { SellerDiscount string `json:"sellerDiscount"` ConsigneeInfo *CallBackConsigneeInfo `json:"consigneeInfo"` ItemInfoList []*CallBackItemInfoList `json:"itemInfoList"` + VendorOrgCode string `json:"vendorOrgCode"` } type CallBackConsigneeInfo struct { @@ -76,5 +77,6 @@ func (a *API) GetCallbackMsg(request *http.Request) (call *CallBackResult, err e return nil, err } call.MsgType = mapData["msgType"].(string) + call.VendorOrgCode = mapData["vendorOrgCode"].(string) return call, err }