diff --git a/src/main/java/com/cm/population/controller/route/populationinfo/PopulationInfoBigdataRouteController.java b/src/main/java/com/cm/population/controller/route/populationinfo/PopulationInfoBigdataRouteController.java index b09edae..3b6bb38 100644 --- a/src/main/java/com/cm/population/controller/route/populationinfo/PopulationInfoBigdataRouteController.java +++ b/src/main/java/com/cm/population/controller/route/populationinfo/PopulationInfoBigdataRouteController.java @@ -40,7 +40,7 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("nation") - public ModelAndView nation(@RequestParam String name) { + public ModelAndView nation(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "nation=" + name); return mv; @@ -62,7 +62,7 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("jiedao") - public ModelAndView jiedao(@RequestParam String name) { + public ModelAndView jiedao(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "jiedao=" + name); return mv; @@ -73,7 +73,7 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("sex") - public ModelAndView sex(@RequestParam String name) { + public ModelAndView sex(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "sex=" + name); return mv; @@ -84,7 +84,7 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("organization") - public ModelAndView organization(@RequestParam String name) { + public ModelAndView organization(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "organization=" + organizationMap.get(name)); return mv; @@ -118,7 +118,7 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("religion") - public ModelAndView religion(@RequestParam String name) { + public ModelAndView religion(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "religion=" + name); return mv; @@ -130,7 +130,7 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("xinfang") - public ModelAndView xinfang(@RequestParam String name) { + public ModelAndView xinfang(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "xinfang=" + name); return mv; @@ -142,7 +142,7 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("baozhang") - public ModelAndView baozhang(@RequestParam String name) { + public ModelAndView baozhang(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "baozhang=" + name); return mv; @@ -154,10 +154,10 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("teshu") - public ModelAndView teshu(@RequestParam String name) { + public ModelAndView teshu(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "teshu=" + name); return mv; } -} \ No newline at end of file +} diff --git a/src/main/resources/static/default.html b/src/main/resources/static/default.html index 2ab024f..59efa66 100644 --- a/src/main/resources/static/default.html +++ b/src/main/resources/static/default.html @@ -10,7 +10,21 @@ + @@ -20,7 +34,7 @@