|
|
|
|
130
|
@ApiOperation(value = "校验验证码", notes = "校验验证码")
|
130
|
@ApiOperation(value = "校验验证码", notes = "校验验证码")
|
131
|
@PostMapping("{plat}/check/captcha")
|
131
|
@PostMapping("{plat}/check/captcha")
|
132
|
public ResponseBean sendCaptcha(@RequestParam String tel,@RequestParam String captcha) {
|
132
|
public ResponseBean sendCaptcha(@RequestParam String tel,@RequestParam String captcha) {
|
133
|
-// boolean success = smsUtils.checkCaptcha(tel,captcha);
|
|
|
134
|
- boolean success =true;
|
|
|
|
|
133
|
+ boolean success = smsUtils.checkCaptcha(tel,captcha);
|
135
|
if (success) {
|
134
|
if (success) {
|
136
|
return ResponseBean.success("验证码校验成功");
|
135
|
return ResponseBean.success("验证码校验成功");
|
137
|
} else {
|
136
|
} else {
|