使用註解@Value獲取中文值時會亂碼,因爲properties模式編碼方式爲ISO9XXX且無法修改
解決方法兩種:
1、將中文轉化成unicode
2、將配置文件改成yaml格式(默認使用UTF8編碼)
使用註解@Value獲取中文值時會亂碼,因爲properties模式編碼方式爲ISO9XXX且無法修改
解決方法兩種:
1、將中文轉化成unicode
2、將配置文件改成yaml格式(默認使用UTF8編碼)
## spring security https://github.com/jitwxs/blog-sample/tree/master
https://blog.csdn.net/zhuizhufanxin123/article/details/103982940