feat(dashboard): traverse file URI from file ID (#2412)

This commit is contained in:
Aaron Liu
2025-05-29 09:44:11 +08:00
parent 65095855c1
commit 51fa9f66a5
9 changed files with 67 additions and 3 deletions

View File

@@ -54,6 +54,7 @@ type ListFileResponse struct {
type GetFileResponse struct {
*ent.File
UserHashID string `json:"user_hash_id,omitempty"`
FileHashID string `json:"file_hash_id,omitempty"`
DirectLinkMap map[int]string `json:"direct_link_map,omitempty"`
}