mirror of https://github.com/Xhofe/alist
✨ delete useless log
parent
b1e662cd34
commit
72d5e4e691
|
@ -7,7 +7,6 @@ import (
|
||||||
"github.com/Xhofe/alist/model"
|
"github.com/Xhofe/alist/model"
|
||||||
"github.com/Xhofe/alist/utils"
|
"github.com/Xhofe/alist/utils"
|
||||||
"github.com/go-resty/resty/v2"
|
"github.com/go-resty/resty/v2"
|
||||||
log "github.com/sirupsen/logrus"
|
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
@ -107,7 +106,6 @@ func (driver Pan123) GetFiles(parentId string, account *model.Account) ([]Pan123
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
log.Debugf("%+v", resp)
|
|
||||||
if resp.Code != 0 {
|
if resp.Code != 0 {
|
||||||
if resp.Code == 401 {
|
if resp.Code == 401 {
|
||||||
err := driver.Login(account)
|
err := driver.Login(account)
|
||||||
|
|
Loading…
Reference in New Issue