Feat: group options in database scheme

This commit is contained in:
HFO4
2019-12-12 09:16:24 +08:00
parent 2b25b9d315
commit ba34a092d1
4 changed files with 55 additions and 6 deletions

View File

@@ -26,6 +26,13 @@ type ItemService struct {
Dirs []uint `json:"dirs" binding:"exists"`
}
// ArchiveAndDownload 创建归档并下載文件
func (service *ItemService) ArchiveAndDownload(ctx context.Context, c *gin.Context) serializer.Response {
return serializer.Response{
Code: 0,
}
}
// Delete 删除对象
func (service *ItemService) Delete(ctx context.Context, c *gin.Context) serializer.Response {
// 创建文件系统