-
-
Notifications
You must be signed in to change notification settings - Fork 504
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
似乎Facade不起作用 #1
Comments
Dear, class WechatController extends Controller {
} |
在文件头部 <?php
namespace App\Http\Controllers;
use Wechat;
use Log;
class WechatController {
public function serve() {
Wechat::on('message', function ($message)
{
Log::info("收到来自'{$message['FromUserName']}'的信息:'{$message['Content']}'");
});
return Wechat::serve();
}
} |
Closed
overtrue
pushed a commit
that referenced
this issue
Mar 20, 2016
change double quotes to single quote
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, 我按照手册引入了相关的provider和facade。但是在controller中使用Wechat::时,报找不到相关的类。很迷惑哟~
The text was updated successfully, but these errors were encountered: