diff --git a/src/main/java/com/ms/reggie/controller/UserController.java b/src/main/java/com/ms/reggie/controller/UserController.java index 337eb50..eca192a 100644 --- a/src/main/java/com/ms/reggie/controller/UserController.java +++ b/src/main/java/com/ms/reggie/controller/UserController.java @@ -4,7 +4,6 @@ import com.ms.reggie.pojo.User; import com.ms.reggie.service.UserService; import com.ms.reggie.util.R; -import com.ms.reggie.util.SendMessageUtil; import com.ms.reggie.util.ValidateCodeUtils; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.StringUtils; @@ -47,8 +46,8 @@ public R sendMsg(@RequestBody User user, HttpSession session) { //生成随机的四位随机数 String code = ValidateCodeUtils.generateValidateCode(6).toString(); //调用短信服务 - Integer resultCode = SendMessageUtil.send(phone, "您正在登录湘约楼平台,请妥善保管您得验证码" + code); - log.info("生成的验证码为:{},{}", code, SendMessageUtil.getMessage(resultCode)); +// Integer resultCode = SendMessageUtil.send(phone, "您正在登录湘约楼平台,请妥善保管您得验证码" + code); +// log.info("生成的验证码为:{},{}", code, SendMessageUtil.getMessage(resultCode)); //需要将生成的验证码保存到Session log.info("验证码为:{}", code); diff --git a/target/classes/com/ms/reggie/controller/UserController.class b/target/classes/com/ms/reggie/controller/UserController.class index cde79e0..4b4fdd3 100644 Binary files a/target/classes/com/ms/reggie/controller/UserController.class and b/target/classes/com/ms/reggie/controller/UserController.class differ