解决generator.yml中文乱码问题
This commit is contained in:
parent
256095f3f0
commit
5b84e109bf
@ -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…
Reference in New Issue
Block a user