From 378e33c9ad9ba6398496cb3b90d575fb7d7cee49 Mon Sep 17 00:00:00 2001 From: jiangyong Date: Fri, 9 Aug 2024 22:43:04 +0800 Subject: [PATCH] warnf --- qyweixin/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qyweixin/app.go b/qyweixin/app.go index 07af92e..44e782b 100644 --- a/qyweixin/app.go +++ b/qyweixin/app.go @@ -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