//browser enter localhost/SSM/baseline/32 returns the corresponding json data
@ GetMapping ("/baseline/{id} ")
@ ResponseBody
Public List
System. The out. Println (" site id: "+ id);
//List
List
The Collections. Reverse (data);
Return the data.
}
XML file Limit in 14, the browser can return 14 data,
If I want to query the historical data, such as the 2020-04-04 00:00:00-2020-04-04 07:00:00 data, how to configure @ GetMapping data can be returned to the browser side?? Rookie refer to?
CodePudding user response:
In Google input localhost/SSM/baseline/32 the data returned to normal