feat:完善活动信息

This commit is contained in:
henry
2021-11-25 09:58:08 +08:00
parent 5475320171
commit 474e33750a
16 changed files with 574 additions and 33 deletions

View File

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