Skip to content

Commit c28dbbf

Browse files
authored
fix typo (#455)
1 parent 20f29ef commit c28dbbf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class WeChatController extends Controller
8686

8787
## OAuth 中间件
8888

89-
使用中间件的情况下 `app/config/wechat.php` 中的 `oauth.callback` 就随便填写吧(因为用不着了 :smile:)。
89+
使用中间件的情况下 `app/config/easywechat.php` 中的 `oauth.callback` 就随便填写吧(因为用不着了 :smile:)。
9090

9191
1.`app/Http/Kernel.php` 中添加路由中间件:
9292

@@ -190,6 +190,8 @@ use Overtrue\LaravelWeChat\Traits\HandleOpenPlatformServerEvents;
190190

191191
class OpenPlatformController extends Controller
192192
{
193+
use HandleOpenPlatformServerEvents;
194+
193195
public function __invoke(Application $application): \Psr\Http\Message\ResponseInterface
194196
{
195197
$app = app('easywechat.open-platform');

0 commit comments

Comments
 (0)