|
@@ -21,7 +21,7 @@ public class SmsController {
|
|
|
private SmsService smsService;
|
|
private SmsService smsService;
|
|
|
private EasyCaptchaService captchaService;
|
|
private EasyCaptchaService captchaService;
|
|
|
|
|
|
|
|
- @GetMapping("/sendVerify")
|
|
|
|
|
|
|
+ //@GetMapping("/sendVerify")
|
|
|
public String sendVerify(@RequestParam String phone) {
|
|
public String sendVerify(@RequestParam String phone) {
|
|
|
if (!Pattern.matches(Constants.Regex.PHONE, phone)) {
|
|
if (!Pattern.matches(Constants.Regex.PHONE, phone)) {
|
|
|
throw new BusinessException("请输入正确的手机号");
|
|
throw new BusinessException("请输入正确的手机号");
|