@RequestMapping(value = "notification",method = {RequestMethod.POST,RequestMethod.GET,RequestMethod.PATCH,RequestMethod.OPTIONS})
@ResponseBody
最近在接的项目,看到这个地方不懂其中的含义,为什么要这么写,我应该怎么传参?get还是post还是什么……
求各位大神赐教~。~
@RequestMapping(value = "notification",method = {RequestMethod.POST,RequestMethod.GET,RequestMethod.PATCH,RequestMethod.OPTIONS})
@ResponseBody
最近在接的项目,看到这个地方不懂其中的含义,为什么要这么写,我应该怎么传参?get还是post还是什么……
求各位大神赐教~。~