fix(netease_music): change ListResp size fields from string to int64 (#8417)
This commit is contained in:
parent
6d9c554f6f
commit
f541489d7d
@ -2,13 +2,13 @@ package netease_music
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/alist-org/alist/v3/internal/driver"
|
|
||||||
"io"
|
"io"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/alist-org/alist/v3/internal/driver"
|
||||||
"github.com/alist-org/alist/v3/internal/model"
|
"github.com/alist-org/alist/v3/internal/model"
|
||||||
"github.com/alist-org/alist/v3/internal/sign"
|
"github.com/alist-org/alist/v3/internal/sign"
|
||||||
"github.com/alist-org/alist/v3/pkg/http_range"
|
"github.com/alist-org/alist/v3/pkg/http_range"
|
||||||
@ -28,8 +28,8 @@ type SongResp struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ListResp struct {
|
type ListResp struct {
|
||||||
Size string `json:"size"`
|
Size int64 `json:"size"`
|
||||||
MaxSize string `json:"maxSize"`
|
MaxSize int64 `json:"maxSize"`
|
||||||
Data []struct {
|
Data []struct {
|
||||||
AddTime int64 `json:"addTime"`
|
AddTime int64 `json:"addTime"`
|
||||||
FileName string `json:"fileName"`
|
FileName string `json:"fileName"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user