Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

register the service provider #19

Closed

Conversation

jakangah
Copy link

This will register the service provider , this way you don’t have to
explicitly do it in the app.php

This will register the service provider , this way you don’t have to
explicitly do it in the app.php
@@ -77,6 +77,8 @@ public function register()
if (config('wechat.use_alias')) {
Alias::register();
}

$this->app->register('Overtrue\\LaravelWechat\\ServiceProvider::class');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

语法错误(应该是Overtrue\\LaravelWechat\\ServiceProvider::class),而且你这么干的目的是啥,为啥还要把这个装到容器里?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants