mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-03 04:08:01 +08:00
Merge pull request #40 from huangzhhui/gh-pages
Fixed error property name of `@RequestMapping` annotation
This commit is contained in:
commit
2aff37066a
@ -93,7 +93,7 @@ class IndexController
|
||||
{
|
||||
// Hyperf 会自动为此方法生成一个 /index/index 的路由,允许通过 GET 或 POST 方式请求
|
||||
/**
|
||||
* @RequestMapping(path="index", method="get,post")
|
||||
* @RequestMapping(path="index", methods="get,post")
|
||||
*/
|
||||
public function index(RequestInterface $request)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user