application.yml中配置: 末尾加上characterEncoding=utf-8
datasource:
url: jdbc:mysql://127.0.0.1:3306/x'x'x'x?characterEncoding=utf-8
username: root
password: 123456
server:
port: 80
application.yml中配置: 末尾加上characterEncoding=utf-8
datasource:
url: jdbc:mysql://127.0.0.1:3306/x'x'x'x?characterEncoding=utf-8
username: root
password: 123456
server:
port: 80