- refactor RebuildError
- output store and sku info when mtwm api failed
This commit is contained in:
@@ -139,5 +139,10 @@ func (a *API) AccessAPI(cmd string, isGet bool, bizParams map[string]interface{}
|
||||
retVal = jsonResult1["data"]
|
||||
return platformapi.ErrLevelSuccess, nil
|
||||
})
|
||||
err = platformapi.RebuildError(err, bizParams, []string{
|
||||
KeyAppPoiCode,
|
||||
KeyAppPoiCodes,
|
||||
KeyAppFoodCode,
|
||||
})
|
||||
return retVal, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user