mirror of https://github.com/Xhofe/alist
fix(chaoxing): upload to ChaoxingxingGroupCloud failed (#6953)
change the data type on deserializing jsonpull/6977/head
parent
29165d8e60
commit
979d0cfeee
|
@ -191,33 +191,33 @@ type UploadFileDataRsp struct {
|
||||||
Resid int64 `json:"resid"`
|
Resid int64 `json:"resid"`
|
||||||
Puid int `json:"puid"`
|
Puid int `json:"puid"`
|
||||||
Data struct {
|
Data struct {
|
||||||
DisableOpt bool `json:"disableOpt"`
|
DisableOpt bool `json:"disableOpt"`
|
||||||
Resid int64 `json:"resid"`
|
Resid int64 `json:"resid"`
|
||||||
Crc string `json:"crc"`
|
Crc string `json:"crc"`
|
||||||
Puid int `json:"puid"`
|
Puid int `json:"puid"`
|
||||||
Isfile bool `json:"isfile"`
|
Isfile bool `json:"isfile"`
|
||||||
Pantype string `json:"pantype"`
|
Pantype string `json:"pantype"`
|
||||||
Size int `json:"size"`
|
Size int `json:"size"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
ObjectID string `json:"objectId"`
|
ObjectID string `json:"objectId"`
|
||||||
Restype string `json:"restype"`
|
Restype string `json:"restype"`
|
||||||
UploadDate time.Time `json:"uploadDate"`
|
UploadDate int64 `json:"uploadDate"`
|
||||||
ModifyDate time.Time `json:"modifyDate"`
|
ModifyDate int64 `json:"modifyDate"`
|
||||||
UploadDateFormat string `json:"uploadDateFormat"`
|
UploadDateFormat string `json:"uploadDateFormat"`
|
||||||
Residstr string `json:"residstr"`
|
Residstr string `json:"residstr"`
|
||||||
Suffix string `json:"suffix"`
|
Suffix string `json:"suffix"`
|
||||||
Preview string `json:"preview"`
|
Preview string `json:"preview"`
|
||||||
Thumbnail string `json:"thumbnail"`
|
Thumbnail string `json:"thumbnail"`
|
||||||
Creator int `json:"creator"`
|
Creator int `json:"creator"`
|
||||||
Duration int `json:"duration"`
|
Duration int `json:"duration"`
|
||||||
IsImg bool `json:"isImg"`
|
IsImg bool `json:"isImg"`
|
||||||
PreviewURL string `json:"previewUrl"`
|
PreviewURL string `json:"previewUrl"`
|
||||||
Filetype string `json:"filetype"`
|
Filetype string `json:"filetype"`
|
||||||
Filepath string `json:"filepath"`
|
Filepath string `json:"filepath"`
|
||||||
Sort int `json:"sort"`
|
Sort int `json:"sort"`
|
||||||
Topsort int `json:"topsort"`
|
Topsort int `json:"topsort"`
|
||||||
ResTypeValue int `json:"resTypeValue"`
|
ResTypeValue int `json:"resTypeValue"`
|
||||||
Extinfo string `json:"extinfo"`
|
Extinfo string `json:"extinfo"`
|
||||||
} `json:"data"`
|
} `json:"data"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -225,33 +225,33 @@ type UploadDoneParam struct {
|
||||||
Cataid string `json:"cataid"`
|
Cataid string `json:"cataid"`
|
||||||
Key string `json:"key"`
|
Key string `json:"key"`
|
||||||
Param struct {
|
Param struct {
|
||||||
DisableOpt bool `json:"disableOpt"`
|
DisableOpt bool `json:"disableOpt"`
|
||||||
Resid int64 `json:"resid"`
|
Resid int64 `json:"resid"`
|
||||||
Crc string `json:"crc"`
|
Crc string `json:"crc"`
|
||||||
Puid int `json:"puid"`
|
Puid int `json:"puid"`
|
||||||
Isfile bool `json:"isfile"`
|
Isfile bool `json:"isfile"`
|
||||||
Pantype string `json:"pantype"`
|
Pantype string `json:"pantype"`
|
||||||
Size int `json:"size"`
|
Size int `json:"size"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
ObjectID string `json:"objectId"`
|
ObjectID string `json:"objectId"`
|
||||||
Restype string `json:"restype"`
|
Restype string `json:"restype"`
|
||||||
UploadDate time.Time `json:"uploadDate"`
|
UploadDate int64 `json:"uploadDate"`
|
||||||
ModifyDate time.Time `json:"modifyDate"`
|
ModifyDate int64 `json:"modifyDate"`
|
||||||
UploadDateFormat string `json:"uploadDateFormat"`
|
UploadDateFormat string `json:"uploadDateFormat"`
|
||||||
Residstr string `json:"residstr"`
|
Residstr string `json:"residstr"`
|
||||||
Suffix string `json:"suffix"`
|
Suffix string `json:"suffix"`
|
||||||
Preview string `json:"preview"`
|
Preview string `json:"preview"`
|
||||||
Thumbnail string `json:"thumbnail"`
|
Thumbnail string `json:"thumbnail"`
|
||||||
Creator int `json:"creator"`
|
Creator int `json:"creator"`
|
||||||
Duration int `json:"duration"`
|
Duration int `json:"duration"`
|
||||||
IsImg bool `json:"isImg"`
|
IsImg bool `json:"isImg"`
|
||||||
PreviewURL string `json:"previewUrl"`
|
PreviewURL string `json:"previewUrl"`
|
||||||
Filetype string `json:"filetype"`
|
Filetype string `json:"filetype"`
|
||||||
Filepath string `json:"filepath"`
|
Filepath string `json:"filepath"`
|
||||||
Sort int `json:"sort"`
|
Sort int `json:"sort"`
|
||||||
Topsort int `json:"topsort"`
|
Topsort int `json:"topsort"`
|
||||||
ResTypeValue int `json:"resTypeValue"`
|
ResTypeValue int `json:"resTypeValue"`
|
||||||
Extinfo string `json:"extinfo"`
|
Extinfo string `json:"extinfo"`
|
||||||
} `json:"param"`
|
} `json:"param"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue