Spring 开发常见问题

linux 下http 接收中文参数乱码

解决:

在application.yml配置文件中添加

spring:
 http:
    encoding:
      charset: GB2312

 

posted @ 2019-03-20 18:10  bookc  阅读(324)  评论(0编辑  收藏  举报