When doing the interface through spring+rest, it is found that when the parameter passed in from the current station is Chinese, the received parameter shows garbled characters!
Add URIEncoding="UTF-8" to the tomcat/conf/server.xml file
as follows:
<Connector port="8099" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding="UTF-8"/>