Merge pull request #40 from huangzhhui/gh-pages

Fixed error property name of `@RequestMapping` annotation
This commit is contained in:
黄朝晖 2019-06-25 14:19:22 +08:00 committed by GitHub
commit 2aff37066a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
{