添加@Component注解
This commit is contained in:
		
							parent
							
								
									719e1fdfa9
								
							
						
					
					
						commit
						a40d691e31
					
				| @ -3,7 +3,9 @@ package com.ruoyi.common.swagger.config; | |||||||
| import java.util.ArrayList; | import java.util.ArrayList; | ||||||
| import java.util.List; | import java.util.List; | ||||||
| import org.springframework.boot.context.properties.ConfigurationProperties; | import org.springframework.boot.context.properties.ConfigurationProperties; | ||||||
|  | import org.springframework.stereotype.Component; | ||||||
| 
 | 
 | ||||||
|  | @Component | ||||||
| @ConfigurationProperties("swagger") | @ConfigurationProperties("swagger") | ||||||
| public class SwaggerProperties | public class SwaggerProperties | ||||||
| { | { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Sxile
						Sxile