From eb23e2fe0afdae80d5ee9a93091570e373e01648 Mon Sep 17 00:00:00 2001 From: xhyl <1329172872@qq.com> Date: Tue, 13 Apr 2021 15:15:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B7=E6=B1=82=E9=82=AE=E4=BB=B6=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81panic=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/user.go b/service/user.go index 55dd2c2..c29ff1f 100644 --- a/service/user.go +++ b/service/user.go @@ -293,7 +293,7 @@ func GenVerifyCode(ctx context.Context, req *args.GenVerifyCodeArgs) (retCode in if req.ReceiveEmail != "" { job:= func() { - defer vars.GPool.JobDone() + //defer vars.GPool.JobDone() notice := fmt.Sprintf(args.VerifyCodeTemplate, vars.App.Name, verifyCode, args.GetMsg(req.BusinessType), vars.VerifyCodeSetting.ExpireMinute) err = email.SendEmailNotice(ctx, req.ReceiveEmail, vars.App.Name, notice) if err != nil { -- Gitee