Explorar o código

增加返回值

baolei hai 2 meses
pai
achega
d6f24248a1

+ 5 - 1
08.src/Xingxi/xingxi-admin/src/main/java/com/xingxi/web/core/config/SwaggerConfig.java

@@ -1,5 +1,6 @@
 package com.xingxi.web.core.config;
 
+import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Value;
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Configuration;
@@ -24,7 +25,10 @@ public class SwaggerConfig
     /** 是否开启swagger */
     @Value("${swagger.enabled}")
     private boolean enabled;
-    
+
+    @Autowired
+    private RuoYiConfig rouYiConfig;
+
     /**
      * 创建API
      */