feat: 修改短链

update: dockerfile,workflow
This commit is contained in:
2024-03-13 13:30:45 +08:00
parent 1d9de31f47
commit 14c3b97ed2
19 changed files with 609 additions and 527 deletions

View File

@ -6,6 +6,12 @@ type ShortLinkGenValidator struct {
}
type ShortLinkGetValidator struct {
Hash string `form:"hash" binding:"required"`
Hash string `form:"hash" binding:"required"` // Hash: 短链接
Password string `form:"password"`
}
type ShortLinkUpdateValidator struct {
Hash string `form:"hash" binding:"required"`
Url string `form:"url" binding:"required"`
Password string `form:"password" binding:"required"`
}