- Controller的方法中,可以接受的参数有:
1. @PathVariable("paramName") String paramName
2. @RequestMapping(value="/app/{paramName}/index",produces="application/json;charset=UTF-8")
3. @RequestParam(required=false) String paramName
1. @PathVariable("paramName") String paramName
2. @RequestMapping(value="/app/{paramName}/index",produces="application/json;charset=UTF-8")
3. @RequestParam(required=false) String paramName