fix 修复 读取 generator.yml 中文乱码问题
This commit is contained in:
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…
x
Reference in New Issue
Block a user