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 日志
|
// Log::info('request arrived.'); # 注意:Log 为 Laravel 组件,所以它记的日志去 Laravel 日志看,而不是 EasyWeChat 日志
|
||||||
$app = app('wechat.mini_program');
|
$app = app('wechat.mini_program');
|
||||||
$app->server->push(function ($message) {
|
$app->server->push(function ($message) {
|
||||||
|
Log::info("小程序消息推送");
|
||||||
|
Log::info($message);
|
||||||
// $message = array (
|
// $message = array (
|
||||||
// 'ToUserName' => 'gh_66ddebb44654',
|
// 'ToUserName' => 'gh_66ddebb44654',
|
||||||
// 'FromUserName' => 'oVEaG5KqLUpuz0CukddVMSq5as_o',
|
// 'FromUserName' => 'oVEaG5KqLUpuz0CukddVMSq5as_o',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user