fix(netease_music): change ListResp size fields from string to int64 (#8417)

This commit is contained in:
MadDogOwner 2025-04-27 19:59:30 +08:00 committed by GitHub
parent 6d9c554f6f
commit f541489d7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,13 +2,13 @@ package netease_music
import (
"context"
"github.com/alist-org/alist/v3/internal/driver"
"io"
"net/http"
"strconv"
"strings"
"time"
"github.com/alist-org/alist/v3/internal/driver"
"github.com/alist-org/alist/v3/internal/model"
"github.com/alist-org/alist/v3/internal/sign"
"github.com/alist-org/alist/v3/pkg/http_range"
@ -28,8 +28,8 @@ type SongResp struct {
}
type ListResp struct {
Size string `json:"size"`
MaxSize string `json:"maxSize"`
Size int64 `json:"size"`
MaxSize int64 `json:"maxSize"`
Data []struct {
AddTime int64 `json:"addTime"`
FileName string `json:"fileName"`