Feat: re-save shared folder to user's space

This commit is contained in:
HFO4
2020-01-31 11:27:52 +08:00
parent b1a9943b0c
commit f5d79b1f94
10 changed files with 51 additions and 60 deletions

View File

@@ -47,6 +47,7 @@ func BuildShareResponse(share *model.Share, unlocked bool) Share {
CreateDate: share.CreatedAt.Format("2006-01-02 15:04:05"),
}
// 未解锁时只返回基本信息
if !unlocked {
return resp
}