- 京东,美团和饿百API中,还是保留出错是给出门店和商品的信息(RebuildError)

This commit is contained in:
gazebo
2019-08-13 17:43:00 +08:00
parent 4fb34af13d
commit 2580d1a8c3
3 changed files with 5 additions and 5 deletions

View File

@@ -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
} }

View File

@@ -105,8 +105,8 @@ var (
KeyOutStationNo, KeyOutStationNo,
KeyStationNo, KeyStationNo,
"StoreNo", "StoreNo",
// KeyOutSkuId, KeyOutSkuId,
// KeySkuId, KeySkuId,
} }
) )

View File

@@ -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
} }