【Spring】Spring boot 中文乱码

在这里插入图片描述

1.背景

写了一个Sparing程序,传入的是一个字符串字符串是一个Json

{
	"id":1,
	"name":"梁川川lcc_1qazxsw2#$%"
}

controller如下

public JSONObject add(@RequestBody String json){
	System.out.println("进入")
	System

猜你喜欢

转载自blog.csdn.net/qq_21383435/article/details/107822093
今日推荐