mtmember
This commit is contained in:
@@ -46,7 +46,7 @@ func (a *API) AccessAPI(action string, url string, bizParams map[string]interfac
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
if utils.MustInterface2Int64(jsonResult1["errorCode"]) != http.StatusOK {
|
if utils.MustInterface2Int64(jsonResult1["errorCode"]) != http.StatusOK {
|
||||||
errLevel = platformapi.ErrLevelGeneralFail
|
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))
|
baseapi.SugarLogger.Debugf("mtmember AccessAPI failed, jsonResult1:%s", utils.Format4Output(jsonResult1, true))
|
||||||
}
|
}
|
||||||
retVal = jsonResult1
|
retVal = jsonResult1
|
||||||
|
|||||||
Reference in New Issue
Block a user