@@ -104,7 +104,7 @@ public class CaptchaController extends BaseController {
/**
* 生成验证码
*/
- @ApiOperation(value = "验证码生成", notes = "验证码生成", response = ModelAndView.class)
+ @ApiOperation(value = "yzm", notes = "yzm", response = ModelAndView.class)
@ApiImplicitParam(name = "type", value = "math 或 char", paramType = "query", dataType = "string")
@GetMapping("/yZm")
public AjaxResult getYzm(String type) {
@@ -123,6 +123,7 @@ public class SwaggerConfig {
"/monitor/logininfor/.*",
"/monitor/operlog/.*",
"/captchaImage",
+ "/yZm",
"/common/.*",
"/app/upgrade/.*",
"/business/push/bus/push/msg/.*",
@@ -59,7 +59,7 @@ public class ResourcesConfig implements WebMvcConfigurer {
// 不需要拦截的路由,swagger3
.excludePathPatterns("/swagger-resources/**","/swagger-ui/**", "/v3/**", "/error")
// 不需要拦截的路由
- .excludePathPatterns("/profile/**","/captchaImage", "/common/**", "/monitor/**")
+ .excludePathPatterns("/profile/**", "/captchaImage", "/yZm", "/common/**", "/monitor/**")
.excludePathPatterns("/chart/**")
;
}