修复定时任务
This commit is contained in:
parent
bbdf4c2538
commit
a7f7085539
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue