调试饿百页面活动API,errno为nil的情况
This commit is contained in:
@@ -350,6 +350,9 @@ func (a *API) AccessStorePage2(subURL string, params map[string]interface{}, isP
|
|||||||
return platformapi.ErrLevelRecoverableErr, fmt.Errorf("mapData is nil")
|
return platformapi.ErrLevelRecoverableErr, fmt.Errorf("mapData is nil")
|
||||||
}
|
}
|
||||||
retVal = jsonResult1
|
retVal = jsonResult1
|
||||||
|
if jsonResult1["errno"] == nil {
|
||||||
|
baseapi.SugarLogger.Warnf("ebai AccessStorePage2, jsonResult1:%s", utils.Format4Output(jsonResult1, true))
|
||||||
|
}
|
||||||
code := int(utils.MustInterface2Int64(jsonResult1["errno"]))
|
code := int(utils.MustInterface2Int64(jsonResult1["errno"]))
|
||||||
if code == ResponseCodeSuccess {
|
if code == ResponseCodeSuccess {
|
||||||
if subURL == swithShopURL {
|
if subURL == swithShopURL {
|
||||||
|
|||||||
Reference in New Issue
Block a user