fix(quark): file size over i32 (close #997)

pull/1000/head
Xhofe 2022-04-26 15:22:39 +08:00
parent 48049a5ea3
commit 4901e9080c
1 changed files with 30 additions and 30 deletions

View File

@ -51,37 +51,37 @@ type SortResp struct {
type DownResp struct { type DownResp struct {
Resp Resp
Data []struct { Data []struct {
Fid string `json:"fid"` //Fid string `json:"fid"`
FileName string `json:"file_name"` //FileName string `json:"file_name"`
PdirFid string `json:"pdir_fid"` //PdirFid string `json:"pdir_fid"`
Category int `json:"category"` //Category int `json:"category"`
FileType int `json:"file_type"` //FileType int `json:"file_type"`
Size int `json:"size"` //Size int `json:"size"`
FormatType string `json:"format_type"` //FormatType string `json:"format_type"`
Status int `json:"status"` //Status int `json:"status"`
Tags string `json:"tags"` //Tags string `json:"tags"`
LCreatedAt int64 `json:"l_created_at"` //LCreatedAt int64 `json:"l_created_at"`
LUpdatedAt int64 `json:"l_updated_at"` //LUpdatedAt int64 `json:"l_updated_at"`
NameSpace int `json:"name_space"` //NameSpace int `json:"name_space"`
Thumbnail string `json:"thumbnail"` //Thumbnail string `json:"thumbnail"`
DownloadUrl string `json:"download_url"` DownloadUrl string `json:"download_url"`
Md5 string `json:"md5"` //Md5 string `json:"md5"`
RiskType int `json:"risk_type"` //RiskType int `json:"risk_type"`
RangeSize int `json:"range_size"` //RangeSize int `json:"range_size"`
BackupSign int `json:"backup_sign"` //BackupSign int `json:"backup_sign"`
ObjCategory string `json:"obj_category"` //ObjCategory string `json:"obj_category"`
Duration int `json:"duration"` //Duration int `json:"duration"`
FileSource string `json:"file_source"` //FileSource string `json:"file_source"`
File bool `json:"file"` //File bool `json:"file"`
CreatedAt int64 `json:"created_at"` //CreatedAt int64 `json:"created_at"`
UpdatedAt int64 `json:"updated_at"` //UpdatedAt int64 `json:"updated_at"`
PrivateExtra struct { //PrivateExtra struct {
} `json:"_private_extra"` //} `json:"_private_extra"`
} `json:"data"` } `json:"data"`
Metadata struct { //Metadata struct {
Acc2 string `json:"acc2"` // Acc2 string `json:"acc2"`
Acc1 string `json:"acc1"` // Acc1 string `json:"acc1"`
} `json:"metadata"` //} `json:"metadata"`
} }
type UpPreResp struct { type UpPreResp struct {