ZQN
2024-08-27 4869cbba175ed1f8488ac1fda6fede13da72b3d9
project-admin/src/main/java/com/project/admin/controller/system/SysLoginController.java
@@ -53,7 +53,15 @@
    @RepeatSubmit
    public AjaxResult getVerifyCode(@RequestParam("phone") String phone)
    {
        return AjaxResult.success(loginService.getVerifyCode(phone));
        return AjaxResult.success(loginService.getVerifyCode(phone)?"发送成功":"发送失败");
    }
    @ApiOperation("新注册获取验证码")
    @GetMapping("/verify/getNew")
    @RepeatSubmit
    public AjaxResult getVerifyCodeNew(@RequestParam("phone") String phone)
    {
        return AjaxResult.success(loginService.getVerifyCodeNew(phone)?"发送成功":"发送失败");
    }
    @ApiOperation("校验验证码")