Sfoglia il codice sorgente

代码生成配置classpath引用文件

RuoYi 6 anni fa
parent
commit
d27d739558

+ 1 - 1
ruoyi-generator/src/main/java/com/ruoyi/generator/config/GenConfig.java

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Component;
  */
 @Component
 @ConfigurationProperties(prefix = "gen")
-@PropertySource(value = { "generator.yml" })
+@PropertySource(value = { "classpath:generator.yml" })
 public class GenConfig
 {
     /** 作者 */