From e3e3587ab4b44420492019baa8c40d1c17d9321e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Fri, 12 Aug 2022 10:11:07 +0800 Subject: [PATCH] =?UTF-8?q?enhance(utils):=E5=A2=9E=E5=8A=A0=E9=9A=8F?= =?UTF-8?q?=E6=9C=BA=E5=AD=97=E7=AC=A6=E4=B8=B2=E5=8F=AF=E4=BB=A5=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E5=AD=97=E7=AC=A6=E7=A7=8D=E7=B1=BB=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/verify_code.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/verify_code.go b/utils/verify_code.go index 7f3d7c4..e9de009 100644 --- a/utils/verify_code.go +++ b/utils/verify_code.go @@ -6,7 +6,7 @@ import ( "unsafe" ) -const letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" +const letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890" var src = rand.NewSource(time.Now().UnixNano())