| | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * @author Eva.Caesar Liu |
| | | * @date 2023/02/14 11:14 |
| | | */ |
| | | @Api(tags = "图片验证码接口") |
| | | @Trace(exclude = true) |
| | | @RestController |
| | | @RequestMapping("/common") |
| | | public class CaptchaController extends BaseController { |
| | | |
| | | @Autowired |
| | | private CaptchaService captchaService; |
| | | |
| | | /** |
| | | * @author Eva. |
| | | * @author Eva.Caesar Liu |
| | | * @date 2023/02/14 11:14 |
| | | */ |
| | | */ |
| | | @Api(tags = "图片验证码接口") |
| | | @Trace(exclude = true) |
| | | @RestController |
| | | @RequestMapping("/common") |
| | | public class CaptchaController extends BaseController { |
| | | |
| | | @Autowired |
| | | private CaptchaService captchaService; |
| | | |
| | | |
| | | @ApiOperation("获取图片验证码") |
| | | @GetMapping("/captcha") |
| | | public ApiResponse<CaptchaService.Captcha> getCaptcha() { |