Browse Source

添加@Component注解

tags/v2.1
Sxile 4 years ago
parent
commit
a40d691e31
  1. 2
      ruoyi-common/ruoyi-common-swagger/src/main/java/com/ruoyi/common/swagger/config/SwaggerProperties.java

2
ruoyi-common/ruoyi-common-swagger/src/main/java/com/ruoyi/common/swagger/config/SwaggerProperties.java

@ -3,7 +3,9 @@ package com.ruoyi.common.swagger.config; @@ -3,7 +3,9 @@ package com.ruoyi.common.swagger.config;
import java.util.ArrayList;
import java.util.List;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Component
@ConfigurationProperties("swagger")
public class SwaggerProperties
{

Loading…
Cancel
Save