Sfoglia il codice sorgente

添加登录需要短信验证码验证功能

yanliming 10 mesi fa
parent
commit
793badfc5b

+ 1 - 1
web/src/main/java/com/jpsoft/employment/modules/common/controller/JwtsUserController.java

@@ -198,7 +198,7 @@ public class JwtsUserController {
             String phone = user.getPhone();
             if(StringUtil.isNotEmpty(phone)){
                 // 将验证码发送给用户
-                //boolean success = smsService.sendVerificationCode(phone, captCha);
+                boolean success = smsService.sendVerificationCode(phone, captCha);
                 captchaStore.put(captCha, System.currentTimeMillis());
                 messageResult.setResult(true);
                 messageResult.setData(captCha);