common版本回退

This commit is contained in:
2026-06-24 10:53:26 +08:00
parent 8bdbd5bdf3
commit f7c7aa0d69
3 changed files with 145 additions and 88 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func (c *loginController) Login(ctx context.Context, req *system.UserLoginReq) (
menuList []*model.UserMenus
)
//判断验证码是否正确
debug := gmode.IsProduct()
debug := gmode.IsDevelop()
if !debug {
if !commonService.Captcha().VerifyString(req.VerifyKey, req.VerifyCode) {
err = gerror.New("验证码输入错误")