Skip to content

Commit

Permalink
文档优化
Browse files Browse the repository at this point in the history
  • Loading branch information
pengxuxu committed Mar 14, 2024
1 parent c544048 commit 1320f1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,11 @@ Router::addRoute(['GET', 'POST', 'HEAD'], '/wechat', 'App\Controller\WeChatContr
> 注意:一定是 `Router::addRoute`, 因为微信服务端认证的时候是 `GET`, 接收用户消息时是 `POST` ! 然后创建控制器 `WeChatController`
```php

<?php
declare(strict_types=1);
namespace App\Controller;

use EasyWeChat\Kernel\Exceptions\BadRequestException;
use EasyWeChat\Kernel\Exceptions\InvalidArgumentException;
use EasyWeChat\Kernel\Exceptions\RuntimeException;
Expand Down

0 comments on commit 1320f1f

Please sign in to comment.