From a7f7085539ed9e5e5f93601c37649f81878f51f3 Mon Sep 17 00:00:00 2001 From: "qiyunfanbo126.com" <815699> Date: Fri, 15 Nov 2024 21:57:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/third/youchu/youchu_api.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/third/youchu/youchu_api.go b/app/third/youchu/youchu_api.go index a687eea..e859a13 100644 --- a/app/third/youchu/youchu_api.go +++ b/app/third/youchu/youchu_api.go @@ -10,7 +10,6 @@ import ( "qteam/app/utils" "qteam/app/utils/postbank" "qteam/config" - "strings" "time" ) @@ -254,8 +253,8 @@ func (this *YouChuClient) AccountBillDownload(fileId string, key int) (code int, //fmt.Println(string(rs), "dd") if err == nil { var ori = string(rs) - var content = ori[0 : strings.Index(ori, "=")+1] - rds, _ := base64.StdEncoding.DecodeString(content) + //var content = ori[0 : strings.Index(ori, "=")+1] + rds, _ := base64.StdEncoding.DecodeString(ori) //fmt.Println(string(rds)) utils.DownloadBill(string(rds), key) }