From fbf3e27aa9de28ce3060cf4bdcc0fe9e54056ede Mon Sep 17 00:00:00 2001 From: qhd <1766646056@qq.com> Date: Tue, 23 Jun 2026 10:00:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E4=B8=8B=E9=AA=8C=E8=AF=81=E7=A0=81=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=E8=A2=AB=E8=B7=B3=E8=BF=87=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/app/system/controller/sys_login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/app/system/controller/sys_login.go b/internal/app/system/controller/sys_login.go index 91ccc32..a800c9a 100644 --- a/internal/app/system/controller/sys_login.go +++ b/internal/app/system/controller/sys_login.go @@ -39,7 +39,7 @@ func (c *loginController) Login(ctx context.Context, req *system.UserLoginReq) ( menuList []*model.UserMenus ) //判断验证码是否正确 - debug := gmode.IsDevelop() + debug := gmode.IsProduct() if !debug { if !commonService.Captcha().VerifyString(req.VerifyKey, req.VerifyCode) { err = gerror.New("验证码输入错误")