This commit is contained in:
jiangyong 2024-08-09 22:43:04 +08:00
parent ac33837a78
commit 378e33c9ad
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ func (q *App) GetResult(rspBody []byte) (map[string]interface{}, error) {
return nil, err
}
if cast.ToInt(result["errcode"]) != 0 {
log.Errorf("result[%s] error ", string(rspBody))
log.Warnf("result[%s] error ", string(rspBody))
return nil, fmt.Errorf("%d:%s", cast.ToInt(result["errcode"]), cast.ToString(result["errmsg"]))
}
return result, nil