- 京东,美团和饿百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{
|
||||
KeyBaiduShopID,
|
||||
KeyShopID,
|
||||
// KeySkuID,
|
||||
// KeyCustomSkuID,
|
||||
KeySkuID,
|
||||
KeyCustomSkuID,
|
||||
})
|
||||
return retVal, err
|
||||
}
|
||||
|
||||
@@ -105,8 +105,8 @@ var (
|
||||
KeyOutStationNo,
|
||||
KeyStationNo,
|
||||
"StoreNo",
|
||||
// KeyOutSkuId,
|
||||
// KeySkuId,
|
||||
KeyOutSkuId,
|
||||
KeySkuId,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user