- 京东,美团和饿百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{
KeyBaiduShopID,
KeyShopID,
// KeySkuID,
// KeyCustomSkuID,
KeySkuID,
KeyCustomSkuID,
})
return retVal, err
}

View File

@@ -105,8 +105,8 @@ var (
KeyOutStationNo,
KeyStationNo,
"StoreNo",
// KeyOutSkuId,
// KeySkuId,
KeyOutSkuId,
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{
KeyAppPoiCode,
KeyAppPoiCodes,
// KeyAppFoodCode,
KeyAppFoodCode,
})
return retVal, err
}