|
@@ -34,13 +34,12 @@ public class SmsCodeController extends BaseController {
|
|
|
@Autowired
|
|
|
private RedissonClient redissonClient;
|
|
|
|
|
|
- /*@ApiOperation(value = "发送登录短信验证码")
|
|
|
+ @ApiOperation(value = "发送登录短信验证码")
|
|
|
@ApiImplicitParam(name = "mobile", value = "手机号", required = true, dataType = "String")
|
|
|
@PostMapping(value = "/sendSms")
|
|
|
public Object sendLoginVerifyCode(String mobile) throws Exception {
|
|
|
- smsCodeService.sendValidCode(mobile);
|
|
|
- return succeed();
|
|
|
- }*/
|
|
|
+ throw new BizException("你所使用的不是最新版本,请更新后使用");
|
|
|
+ }
|
|
|
|
|
|
@ApiOperation(value = "发送登录短信验证码")
|
|
|
@ApiImplicitParams({ @ApiImplicitParam(name = "mobile", value = "手机号", required = true, dataType = "String"),
|