Documentation ¶
Index ¶
Constants ¶
View Source
const TIME_LIMIT_CODE_LENGTH = 12 + 6 + 40
Variables ¶
This section is empty.
Functions ¶
func CreateTimeLimitCode ¶
CreateTimeLimitCode 根据给定的数据生成带过期时间的码。 格式: 12 日期 + 6 分钟 + 40 sha1
func HashEmail ¶
HashEmail 将邮箱地址 Md5 转换成 Avatar 头像哈希 https://en.gravatar.com/site/implement/hash/
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.