ZQN
2024-06-26 22c8ab9035ba169b07f5d1bc09f3a8ca4402754d
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("校验验证码")