Skip to content

Commit

Permalink
build:4.5.0-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoymin committed Jan 7, 2024
1 parent 754bf18 commit aa437d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion knife4j-vue/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = {
proxy: {
"/": {
//target: 'http://localhost:8990/',
target: 'http://localhost:17814',
target: 'http://localhost:17812',
/* target: 'http://knife4j.xiaominfo.com/', */
ws: true,
changeOrigin: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private void addOrderExtension(OpenAPI openApi) {
}
}
}

private Tag getTag(Class<?> clazz) {
// 从类上获取
Tag tag = clazz.getAnnotation(Tag.class);
Expand All @@ -136,9 +136,9 @@ private Tag getTag(Class<?> clazz) {
}
return tag;
}

private Set<Class<?>> scanPackageByAnnotation(
String packageName, final Class<? extends Annotation> annotationClass) {
String packageName, final Class<? extends Annotation> annotationClass) {
ClassPathScanningCandidateComponentProvider scanner =
new ClassPathScanningCandidateComponentProvider(false);
scanner.addIncludeFilter(new AnnotationTypeFilter(annotationClass));
Expand All @@ -148,7 +148,7 @@ private Set<Class<?>> scanPackageByAnnotation(
Class<?> clazz = Class.forName(beanDefinition.getBeanClassName());
classes.add(clazz);
} catch (ClassNotFoundException ignore) {

}
}
return classes;
Expand Down

0 comments on commit aa437d1

Please sign in to comment.