feat:完善活动信息
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user