修复定时任务

This commit is contained in:
qiyunfanbo126.com 2024-11-15 21:57:22 +08:00
parent bbdf4c2538
commit a7f7085539
1 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,6 @@ import (
"qteam/app/utils" "qteam/app/utils"
"qteam/app/utils/postbank" "qteam/app/utils/postbank"
"qteam/config" "qteam/config"
"strings"
"time" "time"
) )
@ -254,8 +253,8 @@ func (this *YouChuClient) AccountBillDownload(fileId string, key int) (code int,
//fmt.Println(string(rs), "dd") //fmt.Println(string(rs), "dd")
if err == nil { if err == nil {
var ori = string(rs) var ori = string(rs)
var content = ori[0 : strings.Index(ori, "=")+1] //var content = ori[0 : strings.Index(ori, "=")+1]
rds, _ := base64.StdEncoding.DecodeString(content) rds, _ := base64.StdEncoding.DecodeString(ori)
//fmt.Println(string(rds)) //fmt.Println(string(rds))
utils.DownloadBill(string(rds), key) utils.DownloadBill(string(rds), key)
} }