# Functions
AnalyseToken
@Description: 解析 token @Author PTJ 2024-05-14 17:58:44 @param tokenString @return *define.UserClaim @return error.
No description provided by the author
Encrypt
@Description: 给密码加密 @Author PTJ 2024-05-14 17:59:04 @param pwd @return string.
No description provided by the author
GenerateToken
@Description: 生成 token @Author PTJ 2024-05-14 17:58:36 @param identity @param name @return string @return error.
GetID
@Description: 生成ID @Author PTJ 2024-05-14 17:57:44 @return string.
GetMd5
@Description: 生成 md5 @Author PTJ 2024-05-14 17:58:28 @param s @return string.
No description provided by the author
No description provided by the author
No description provided by the author
GetUUID
@Description: 生成唯一码 @Author PTJ 2024-05-14 17:58:52 @return string.
Init
@Description: 初始化雪花算法节点 @Author PTJ 2024-05-14 17:57:10 @param startTime @param machineID @return err.
Verify
@Description: 校验密码 @Author PTJ 2024-05-14 17:59:09 @param pwd1 @param pwd2 @return bool.