Commit 326cee254fc11ba3ca5dfbc4a0a17e29a63628b5
1 parent
e24924e6
fix: add tags
Showing
1 changed file
with
3 additions
and
0 deletions
ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java
| @@ -6,6 +6,8 @@ import java.util.concurrent.TimeUnit; | @@ -6,6 +6,8 @@ import java.util.concurrent.TimeUnit; | ||
| 6 | import javax.annotation.Resource; | 6 | import javax.annotation.Resource; |
| 7 | import javax.imageio.ImageIO; | 7 | import javax.imageio.ImageIO; |
| 8 | import javax.servlet.http.HttpServletResponse; | 8 | import javax.servlet.http.HttpServletResponse; |
| 9 | + | ||
| 10 | +import io.swagger.annotations.ApiOperation; | ||
| 9 | import org.springframework.beans.factory.annotation.Autowired; | 11 | import org.springframework.beans.factory.annotation.Autowired; |
| 10 | import org.springframework.util.FastByteArrayOutputStream; | 12 | import org.springframework.util.FastByteArrayOutputStream; |
| 11 | import org.springframework.web.bind.annotation.GetMapping; | 13 | import org.springframework.web.bind.annotation.GetMapping; |
| @@ -43,6 +45,7 @@ public class CaptchaController | @@ -43,6 +45,7 @@ public class CaptchaController | ||
| 43 | * 生成验证码 | 45 | * 生成验证码 |
| 44 | */ | 46 | */ |
| 45 | @GetMapping("/captchaImage") | 47 | @GetMapping("/captchaImage") |
| 48 | + @ApiOperation(tags = "登录管理",value = "生成验证码",notes = "生成验证码") | ||
| 46 | public AjaxResult getCode(HttpServletResponse response) throws IOException | 49 | public AjaxResult getCode(HttpServletResponse response) throws IOException |
| 47 | { | 50 | { |
| 48 | AjaxResult ajax = AjaxResult.success(); | 51 | AjaxResult ajax = AjaxResult.success(); |