Post请求,对象映射时,在参数 加 @RequestBody: 传入对象内字段的json才能映射
{
"legendData": [
100,
90,
80,
70,
60,
50,
40,
30
],
"gridList": {
"grid": [
[
116.59021090817286,
39.91686875118087
],
[
116.59020940582442,
39.919122236187384
],
[
116.58727587667578,
39.919119023489884
],
[
116.58727737835683,
39.91686553920044
]
],
"index": "1",
"gridid": 11025129,
"value": 927
}
}