SpringMVC注解@RequestMapping全面解析---打酱油的日子
Posted YOU CAN
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SpringMVC注解@RequestMapping全面解析---打酱油的日子相关的知识,希望对你有一定的参考价值。
1
@RequestMapping("/publication/{publicationType}/{specifyPublisherId}/{specifyPublisherType}/{isPar}") public void queryPublicationList(@PathVariable String publicationType, @PathVariable String specifyPublisherId, @PathVariable String specifyPublisherType,@PathVariable Boolean isPar, HttpServletRequest request, HttpServletResponse response) {
2
@RequestMapping(value="/revocation",method=RequestMethod.POST) @ResponseBody public Object revocation(@RequestParam(required=true)String publicationType, @RequestParam(required=true)Long id, @RequestParam(required=true)Byte codeType, @RequestParam(required=true)String revDesc,HttpServletRequest request){
3
以上是关于SpringMVC注解@RequestMapping全面解析---打酱油的日子的主要内容,如果未能解决你的问题,请参考以下文章