修复了注册和登录时的验证码异常
This commit is contained in:
parent
9cb208f5a0
commit
4304fcd024
|
@ -70,7 +70,7 @@ public class UserInfoController {
|
|||
* @param commonStringRequest 手机号
|
||||
* @return 验证码
|
||||
*/
|
||||
@PostMapping("code")
|
||||
@PostMapping("code/register")
|
||||
@Operation(summary = "小程序端用户获取验证码(用于注册)", description = "参数:手机号,权限:管理员(boss, admin),方法名:getVerificationCodeForRegister")
|
||||
// @SysLog(title = "用户管理", content = "小程序端用户获取验证码")
|
||||
public BaseResponse<String> getVerificationCodeForRegister(@Valid @RequestBody CommonStringRequest commonStringRequest) {
|
||||
|
@ -85,7 +85,7 @@ public class UserInfoController {
|
|||
* @param commonStringRequest 手机号
|
||||
* @return 验证码
|
||||
*/
|
||||
@PostMapping("code")
|
||||
@PostMapping("code/pwd")
|
||||
@Operation(summary = "小程序端用户获取验证码(用于密码登录和忘记密码)", description = "参数:手机号,权限:管理员(boss, admin),方法名:getVerificationCode")
|
||||
// @SysLog(title = "用户管理", content = "小程序端用户获取验证码")
|
||||
public BaseResponse<String> getVerificationCode(@Valid @RequestBody CommonStringRequest commonStringRequest) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user