- 京东,美团和饿百API中,还是保留出错是给出门店和商品的信息(RebuildError)
This commit is contained in:
@@ -144,8 +144,8 @@ func (a *API) AccessAPI2(cmd string, body map[string]interface{}, trackInfo stri
|
|||||||
err = platformapi.RebuildError(err, body, []string{
|
err = platformapi.RebuildError(err, body, []string{
|
||||||
KeyBaiduShopID,
|
KeyBaiduShopID,
|
||||||
KeyShopID,
|
KeyShopID,
|
||||||
// KeySkuID,
|
KeySkuID,
|
||||||
// KeyCustomSkuID,
|
KeyCustomSkuID,
|
||||||
})
|
})
|
||||||
return retVal, err
|
return retVal, err
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -105,8 +105,8 @@ var (
|
|||||||
KeyOutStationNo,
|
KeyOutStationNo,
|
||||||
KeyStationNo,
|
KeyStationNo,
|
||||||
"StoreNo",
|
"StoreNo",
|
||||||
// KeyOutSkuId,
|
KeyOutSkuId,
|
||||||
// KeySkuId,
|
KeySkuId,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ func (a *API) AccessAPI2(cmd string, isGet bool, bizParams map[string]interface{
|
|||||||
err = platformapi.RebuildError(err, bizParams, []string{
|
err = platformapi.RebuildError(err, bizParams, []string{
|
||||||
KeyAppPoiCode,
|
KeyAppPoiCode,
|
||||||
KeyAppPoiCodes,
|
KeyAppPoiCodes,
|
||||||
// KeyAppFoodCode,
|
KeyAppFoodCode,
|
||||||
})
|
})
|
||||||
return retVal, err
|
return retVal, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user