♻️ Migrate from gorm/sqlite to boltdb

This commit is contained in:
2024-04-24 12:51:37 +08:00
parent 3d3b4e0bea
commit 566965bb6a
12 changed files with 183 additions and 264 deletions

View File

@ -5,7 +5,7 @@ type ShortLinkGenValidator struct {
Password string `form:"password"`
}
type ShortLinkGetValidator struct {
type GetUrlValidator struct {
Hash string `form:"hash" binding:"required"` // Hash: 短链接
Password string `form:"password"`
}