|
@@ -162,8 +162,8 @@ public class UserInfoController extends BaseController{
|
|
@ApiImplicitParam(name = "type",value = "login:用户登录验证码、modify:修改手机验证码、signUp:注册报名验证码" ,dataType = "String",required = true),
|
|
@ApiImplicitParam(name = "type",value = "login:用户登录验证码、modify:修改手机验证码、signUp:注册报名验证码" ,dataType = "String",required = true),
|
|
@ApiImplicitParam(name = "phone", value = "手机号码", required = true, dataType = "String")
|
|
@ApiImplicitParam(name = "phone", value = "手机号码", required = true, dataType = "String")
|
|
})
|
|
})
|
|
- @PostMapping(value = "/sendVerificationCode")
|
|
|
|
- public Response sendVerificationCode(String type,String phone){
|
|
|
|
|
|
+ @PostMapping(value = "/sendModifyVerificationCode")
|
|
|
|
+ public Response sendModifyVerificationCode(String type,String phone){
|
|
//获取当前用户
|
|
//获取当前用户
|
|
SysUser user = SecurityUtils.getLoginUser().getUser();
|
|
SysUser user = SecurityUtils.getLoginUser().getUser();
|
|
|
|
|