银豹api错误返回
This commit is contained in:
@@ -38,6 +38,11 @@ func (a *API) AccessStorePage(action string, bizParams map[string]interface{}) (
|
|||||||
err = utils.NewErrorCode(jsonResult1["msg"].(string), "-1", 0)
|
err = utils.NewErrorCode(jsonResult1["msg"].(string), "-1", 0)
|
||||||
baseapi.SugarLogger.Debugf("yinbao AccessStorePageAPI failed, jsonResult1:%s", utils.Format4Output(jsonResult1, true))
|
baseapi.SugarLogger.Debugf("yinbao AccessStorePageAPI failed, jsonResult1:%s", utils.Format4Output(jsonResult1, true))
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
errLevel = platformapi.ErrLevelGeneralFail
|
||||||
|
if strings.Contains(jsonResult1["fakeData"].(string), "登录") {
|
||||||
|
err = utils.NewErrorCode("银豹Cookie可能失效了!", "-1", 0)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
retVal = jsonResult1
|
retVal = jsonResult1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user