From f262caf1f5d0a78a8d6917bb04d8ee403b2157a9 Mon Sep 17 00:00:00 2001 From: HFO4 <912394456@qq.com> Date: Fri, 13 Dec 2019 20:46:11 +0800 Subject: [PATCH] Feat: download file and get file downloading session --- models/migration.go | 3 +- pkg/filesystem/file.go | 42 ++++++++++++++++++++++++++- pkg/filesystem/filesystem.go | 2 ++ pkg/filesystem/local/handler.go | 28 ++++++++++++++++++ pkg/filesystem/upload_test.go | 4 +++ pkg/serializer/error.go | 4 +++ routers/controllers/file.go | 23 ++++++++++++--- routers/router.go | 8 ++++-- service/explorer/file.go | 50 ++++++++++++++++++++++++++++----- service/explorer/objects.go | 2 +- 10 files changed, 149 insertions(+), 17 deletions(-) diff --git a/models/migration.go b/models/migration.go index 35178cd..fab53bc 100644 --- a/models/migration.go +++ b/models/migration.go @@ -97,7 +97,8 @@ solid #e9e9e9;"bgcolor="#fff">