@RequestMapping中method的默认值是什么?
@RequestMapping没有指定method属性?
如果不配置method,
则以任何请求形式
如:
RequestMethod.GET,
RequestMethod.POST,
RequestMethod.PUT,
RequestMethod.PATCH,
RequestMethod.DELETE都可以访问得到。
@RequestMapping中method的默认值是什么?
@RequestMapping没有指定method属性?
如果不配置method,
则以任何请求形式
如:
RequestMethod.GET,
RequestMethod.POST,
RequestMethod.PUT,
RequestMethod.PATCH,
RequestMethod.DELETE都可以访问得到。