From ad7d7ea7dbab9b6116087cb9a70d11825e0167d6 Mon Sep 17 00:00:00 2001 From: renzhiyuan <465386466@qq.com> Date: Mon, 15 Jun 2026 17:05:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8D=95=E5=85=83=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- short_url.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/short_url.go b/short_url.go index 8c2eaae..6127d7f 100644 --- a/short_url.go +++ b/short_url.go @@ -99,7 +99,7 @@ func CheckHttpRes(resp *Response, data interface{}) (err error) { return } - if resBody.Code != 0 { + if resBody.Code != 200 { return fmt.Errorf("请求失败,err: %s", resBody.Message) } if data != nil {