package
0.0.0-20241030154413-d854e4f680a9
Repository: https://github.com/afl-lxw/gin-trend.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
BcryptCheck 对比明文密码和数据库的哈希值.
BcryptHash 使用 bcrypt 对密码进行加密.
CheckSignature 微信公众号签名检查.
CheckTableExists 检查表是否存在.
No description provided by the author
No description provided by the author
No description provided by the author
FileExist 判断文件是否存在.
No description provided by the author
No description provided by the author
No description provided by the author
GetUserAuthorityId 从Gin的Context中获取从jwt解析出来的用户角色id.
GetUserID 从Gin的Context中获取从jwt解析出来的用户ID.
GetUserInfo 从Gin的Context中获取从jwt解析出来的用户角色id.
GetUserName 从Gin的Context中获取从jwt解析出来的用户名.
GetUserUuid 从Gin的Context中获取从jwt解析出来的用户UUID.
ImportSQLFile 导入 SQL 文件.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Sha1 进行Sha1编码.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author