fix 修复 读取 generator.yml 中文乱码问题

master
疯狂的狮子li 3 years ago
parent 9ebe1ae918
commit 2790b5ddc4

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

Loading…
Cancel
Save