est
This commit is contained in:
parent
67a9b0bfee
commit
1f1007d4bb
@ -65,6 +65,8 @@ class WechatController extends Controller
|
||||
// Log::info('request arrived.'); # 注意:Log 为 Laravel 组件,所以它记的日志去 Laravel 日志看,而不是 EasyWeChat 日志
|
||||
$app = app('wechat.mini_program');
|
||||
$app->server->push(function ($message) {
|
||||
Log::info("小程序消息推送");
|
||||
Log::info($message);
|
||||
// $message = array (
|
||||
// 'ToUserName' => 'gh_66ddebb44654',
|
||||
// 'FromUserName' => 'oVEaG5KqLUpuz0CukddVMSq5as_o',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user