|
@@ -130,8 +130,7 @@ public class CommonController extends BaseController {
|
130
|
130
|
@ApiOperation(value = "校验验证码", notes = "校验验证码")
|
131
|
131
|
@PostMapping("{plat}/check/captcha")
|
132
|
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
|
134
|
if (success) {
|
136
|
135
|
return ResponseBean.success("验证码校验成功");
|
137
|
136
|
} else {
|