1
0
mirror of https://github.com/bestnite/sub2clash.git synced 2025-12-13 10:00:14 +00:00

feat: 增加短链生成

This commit is contained in:
2023-09-17 15:52:37 +08:00
parent 38dbea4a2a
commit 6b08b2cb86
14 changed files with 206 additions and 34 deletions

7
model/short_link.go Normal file
View File

@@ -0,0 +1,7 @@
package model
type ShortLink struct {
Hash string `gorm:"primary_key"`
Url string
LastRequestTime int64
}