batchDownloadDTO.go 508 B

1234567891011121314
  1. package dto
  2. type BatchDownloadStructNode struct {
  3. Name string `json:"name"` // 字段名
  4. IsFile bool `json:"isFile"` // 是否是文件
  5. Children []*BatchDownloadStructNode `json:"children"` // 子节点
  6. }
  7. type BatchDownloadTarNode struct {
  8. Name string `json:"name"`
  9. Path string `json:"path"`
  10. IsDir bool `json:"isDir"`
  11. Children []*BatchDownloadTarNode `json:"children,omitempty"`
  12. }