@GetMapping和@PostMapping 和@RequestMapping区别

2019-10-15 10:20:11

据我个人实践了解,没有翻阅资料和文档


@GetMapping 只能用做get

@postMapping 只能用作Post

@RequestMapping  两者都能用



然后呢,除了get post Mapping,还有其他@PutMapping@PatchMapping@DeleteMapping等mapping,也都能用@RequestMapping来解决。

所以呢,子和父级的关系。

  • 2017-02-24 16:53:58

    PHP 中的Closure

    Closure,匿名函数,又称为Anonymous functions,是php5.3的时候引入的。匿名函数就是没有定义名字的函数。这点牢牢记住就能理解匿名函数的定义了。

  • 2017-03-02 09:45:27

    动态加载js和css

    开发过程中经常需要动态加载js和css,今天特意总结了一下常用的方法。