feat: 生成随机md5值
This commit is contained in:
		@ -72,6 +72,12 @@ func Md5(str string) define.StringResult {
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// RandomMd5 生成随机字符串MD%值
 | 
			
		||||
func RandomMd5() define.StringResult {
 | 
			
		||||
	str := Random(64, "")
 | 
			
		||||
	return Md5(str)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// ClearChar 清理指定字符
 | 
			
		||||
func ClearChar(str string, charList ...string) string {
 | 
			
		||||
	if len(charList) == 0 {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user