|
|
@@ -200,8 +200,8 @@ public class JwtsUserController {
|
|
|
String phone = user.getPhone();
|
|
|
if (StringUtil.isNotEmpty(phone)) {
|
|
|
// 将验证码发送给用户
|
|
|
-// boolean success = smsService.sendVerificationCode(phone, captCha);
|
|
|
-// logger.info("发送验证码状态:" + String.valueOf(success));
|
|
|
+ boolean success = smsService.sendVerificationCode(phone, captCha);
|
|
|
+ logger.info("发送验证码状态:" + String.valueOf(success));
|
|
|
captchaStore.put(captCha, System.currentTimeMillis());
|
|
|
messageResult.setResult(true);
|
|
|
messageResult.setData(captCha);
|