代码生成配置classpath引用文件

master
RuoYi 2019-03-09 21:14:55 +08:00
parent 4f84560710
commit d27d739558
1 changed files with 1 additions and 1 deletions

View File

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