Rellopn opened this issue 6 years ago · 0 comments
package wxpay // 生成随机字符串 func nonceStr() string { uid := uuid.NewV4() //if err != nil { // return errors.New("生成随机字符串").Error() //} return strings.Replace(uid.String(), "-", "", -1) }```