feat:完善项目

This commit is contained in:
henry
2021-11-03 14:51:14 +08:00
parent 565b683d7e
commit 62c2dda714
14 changed files with 374 additions and 2 deletions

View File

@ -72,7 +72,7 @@ func HashCompare(src, compare []byte) bool {
func HASHIDEncode(src int) string {
hd := hashids.NewData()
hd.Salt = salt
hd.MinLength = 6
hd.MinLength = 10
h := hashids.NewWithData(hd)
e, _ := h.Encode([]int{src})
return e