@RequestMapping中method的默认值是什么?
没有默认值,如果不配置method,
则以任何请求形式
RequestMethod.GET,
RequestMethod.POST,
RequestMethod.PUT,
RequestMethod.DELETE都可以访问得到。
@RequestMapping中method的默认值是什么?
没有默认值,如果不配置method,
则以任何请求形式
RequestMethod.GET,
RequestMethod.POST,
RequestMethod.PUT,
RequestMethod.DELETE都可以访问得到。
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。