修改参数名

This commit is contained in:
TS-QD1 2023-11-26 11:52:01 +08:00
parent 7aee9b2127
commit 85b18476d8

View File

@ -40,9 +40,9 @@ public class PopulationInfoBigdataRouteController extends AbstractController {
* @return * @return
*/ */
@GetMapping("nation") @GetMapping("nation")
public ModelAndView nation(@RequestParam String nation) { public ModelAndView nation(@RequestParam String name) {
ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); ModelAndView mv = new ModelAndView("populationinfo/list-bigdata");
mv.addObject("params", "nation=" + nation); mv.addObject("params", "nation=" + name);
return mv; return mv;
} }