代码生成配置classpath引用文件
This commit is contained in:
@ -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
|
||||||
{
|
{
|
||||||
/** 作者 */
|
/** 作者 */
|
||||||
|
Reference in New Issue
Block a user