Test: hash id generate

This commit is contained in:
HFO4
2020-01-26 13:16:02 +08:00
parent 0ee0ac5e89
commit 880d224169
2 changed files with 34 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ func (service *ShareCreateService) Create(c *gin.Context) serializer.Response {
IsDir: service.IsDir,
UserID: user.ID,
SourceID: service.SourceID,
Score: service.RemainDownloads,
Score: service.Score,
}
// 如果开启了自动过期
@@ -78,4 +78,5 @@ func (service *ShareCreateService) Create(c *gin.Context) serializer.Response {
Code: 0,
Data: shareURL.String(),
}
}