Feat: download file from single file share

This commit is contained in:
HFO4
2020-01-28 12:41:00 +08:00
parent 0977b36f8b
commit 7f0feebf42
13 changed files with 199 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ func (service *ShareCreateService) Create(c *gin.Context) serializer.Response {
// 是否拥有权限
if !user.Group.ShareEnabled {
return serializer.Err(serializer.CodeNoRightErr, "您无权创建分享链接", nil)
return serializer.Err(serializer.CodeNoPermissionErr, "您无权创建分享链接", nil)
}
// 对象是否存在