add:生成短链支持自定义id

This commit is contained in:
hz
2025-03-07 17:30:28 +08:00
parent b57e4cf49f
commit cc0b73d7a4
4 changed files with 73 additions and 14 deletions

View File

@ -3,6 +3,7 @@ package validator
type ShortLinkGenValidator struct {
Url string `form:"url" binding:"required"`
Password string `form:"password"`
CustomID string `form:"customId"`
}
type GetUrlValidator struct {