Skip to content

Commit

Permalink
fix: DiskListData.total_space unmarshal overflow (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe authored Oct 31, 2023
1 parent 15c7452 commit d593bf9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api-fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ type DiskListData struct {
FileList []File `json:"file_list"`
PdirKey string `json:"pdir_key"`
FinishFlag bool `json:"finish_flag"`
TotalDirCount int `json:"total_dir_count"`
TotalFileCount int `json:"total_file_count"`
TotalSpace int `json:"total_space"`
HideDirCount int `json:"hide_dir_count"`
HideFileCount int `json:"hide_file_count"`
TotalDirCount int64 `json:"total_dir_count"`
TotalFileCount int64 `json:"total_file_count"`
TotalSpace int64 `json:"total_space"`
HideDirCount int64 `json:"hide_dir_count"`
HideFileCount int64 `json:"hide_file_count"`
}

// 查询文件、文件夹
Expand Down

0 comments on commit d593bf9

Please sign in to comment.