springboot搭建的web数据提交乱码
修改:application.yml或者application.properties文件
将
url: jdbc:mysql://127.0.0.1:3306/shiro
修改为:
url: jdbc:mysql://127.0.0.1:3306/shiro?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
耐得住寂寞,才能登得顶
Gitee码云:https://gitee.com/lyc96/projects