diff --git a/platformapi/yinbaoapi/store_page.go b/platformapi/yinbaoapi/store_page.go index b89d50bc..4644d80d 100644 --- a/platformapi/yinbaoapi/store_page.go +++ b/platformapi/yinbaoapi/store_page.go @@ -32,10 +32,12 @@ func (a *API) AccessStorePage(action string, bizParams map[string]interface{}) ( return platformapi.ErrLevelRecoverableErr, fmt.Errorf("mapData is nil") } if err == nil { - if !jsonResult1["successed"].(bool) { - errLevel = platformapi.ErrLevelGeneralFail - err = utils.NewErrorCode(jsonResult1["msg"].(string), "-1", 0) - baseapi.SugarLogger.Debugf("yinbao AccessStorePageAPI failed, jsonResult1:%s", utils.Format4Output(jsonResult1, true)) + if jsonResult1["successed"] != nil { + if !jsonResult1["successed"].(bool) { + errLevel = platformapi.ErrLevelGeneralFail + err = utils.NewErrorCode(jsonResult1["msg"].(string), "-1", 0) + baseapi.SugarLogger.Debugf("yinbao AccessStorePageAPI failed, jsonResult1:%s", utils.Format4Output(jsonResult1, true)) + } } retVal = jsonResult1 }