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 | import javax.annotation.Resource; |
| 7 | 7 | import javax.imageio.ImageIO; |
| 8 | 8 | import javax.servlet.http.HttpServletResponse; |
| 9 | + | |
| 10 | +import io.swagger.annotations.ApiOperation; | |
| 9 | 11 | import org.springframework.beans.factory.annotation.Autowired; |
| 10 | 12 | import org.springframework.util.FastByteArrayOutputStream; |
| 11 | 13 | import org.springframework.web.bind.annotation.GetMapping; |
| ... | ... | @@ -43,6 +45,7 @@ public class CaptchaController |
| 43 | 45 | * 生成验证码 |
| 44 | 46 | */ |
| 45 | 47 | @GetMapping("/captchaImage") |
| 48 | + @ApiOperation(tags = "登录管理",value = "生成验证码",notes = "生成验证码") | |
| 46 | 49 | public AjaxResult getCode(HttpServletResponse response) throws IOException |
| 47 | 50 | { |
| 48 | 51 | AjaxResult ajax = AjaxResult.success(); | ... | ... |