This commit is contained in:
苏尹岚
2020-11-10 17:29:07 +08:00
parent 049106d070
commit 44808f6b0f

View File

@@ -46,7 +46,7 @@ func (a *API) AccessAPI(action string, url string, bizParams map[string]interfac
if err == nil {
if utils.MustInterface2Int64(jsonResult1["errorCode"]) != http.StatusOK {
errLevel = platformapi.ErrLevelGeneralFail
err = utils.NewErrorCode(utils.Int64ToStr(utils.MustInterface2Int64(jsonResult1["errorMsg"])), utils.Int64ToStr(utils.MustInterface2Int64(jsonResult1["errorCode"])))
err = utils.NewErrorCode(utils.Interface2String(jsonResult1["errorMsg"]), utils.Int64ToStr(utils.MustInterface2Int64(jsonResult1["errorCode"])))
baseapi.SugarLogger.Debugf("mtmember AccessAPI failed, jsonResult1:%s", utils.Format4Output(jsonResult1, true))
}
retVal = jsonResult1