# Functions
AES解密,cbc模式输入: base64Data: 要解密的数据,base64编码 key: 秘钥输出: 解密结果.
AES加密,cbc模式输入: origData: 要加密的数据 key: 秘钥输出: aes加密结果使用base64编码结果.
[]byte转string.
检查struct tag中含有check标签的值为required的类型为string的字段是否有值输入: objName: 实例名称 obj: 结构体指针.
加密的字符串进行通用解密输入: encryptStr:经过CommonEncrypt()加密后的字符串.
字符串通用加密,只能通过CommonDecrypt()才能解密.
*
AES解密
*/.
*
AES加密
*/.
SHA256加密
*/.
生成一个包含数字,字母的随机字符串.
从context中获取数据库事务实例.
打印debug信息TODO 生产环境下只输出错误信息,不输出debug信息.
如果ip为ipv6,则加上"[]".
字符串转[]byte.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author