mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-03-10 00:31:10 +08:00
update 重构 与cloud版本统一接口路径
This commit is contained in:
@@ -52,7 +52,7 @@ public class CaptchaController {
|
||||
*
|
||||
* @param phonenumber 用户手机号
|
||||
*/
|
||||
@GetMapping("/captchaSms")
|
||||
@GetMapping("/sms/code")
|
||||
public R<Void> smsCaptcha(@NotBlank(message = "{user.phonenumber.not.blank}")
|
||||
String phonenumber) {
|
||||
if (!smsProperties.getEnabled()) {
|
||||
@@ -77,7 +77,7 @@ public class CaptchaController {
|
||||
/**
|
||||
* 生成验证码
|
||||
*/
|
||||
@GetMapping("/captchaImage")
|
||||
@GetMapping("/code")
|
||||
public R<CaptchaVo> getCode() {
|
||||
CaptchaVo captchaVo = new CaptchaVo();
|
||||
boolean captchaEnabled = captchaProperties.getEnable();
|
||||
|
||||
Reference in New Issue
Block a user