类 CaptchaController

java.lang.Object
plus.hiver.module.system.controller.CaptchaController

@RestController @RequestMapping("/hiver/common/captcha") public class CaptchaController extends Object

尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负

作者:
Yazhi Li
  • 构造器详细资料

    • CaptchaController

      public CaptchaController()
  • 方法详细资料

    • initCaptcha

      @GetMapping("/init") public plus.hiver.common.api.Result initCaptcha(@RequestParam(required=false,defaultValue="false") Boolean isDigit, @RequestParam(required=false,defaultValue="4") Integer length)
    • drawCaptcha

      @GetMapping("/draw/{captchaId}") public void drawCaptcha(@PathVariable("captchaId") String captchaId, jakarta.servlet.http.HttpServletResponse response) throws IOException
      抛出:
      IOException