Magento_Pusher:Pusher 和 Magento 的快速集成 POC

时间:2021-05-31 20:01:46
【文件属性】:
文件名称:Magento_Pusher:Pusher 和 Magento 的快速集成 POC
文件大小:12KB
文件格式:ZIP
更新时间:2021-05-31 20:01:46
PHP Magento_Pusher Pusher 和 Magento 的快速集成 POC 使用此模块确实很容易。 将其复制到您的 Magento 安装中,然后通过管理员转到系统配置 > 高级 > 系统。 找到 Eschrade Pusher 组并输入密钥、身份验证(或应用程序密钥)和应用程序 ID。 确保启用它,然后保存配置。 该模块不与 JavaScript API 集成,它只启用它,因此在您的 HTML 中,您需要放置类似以下代码的内容。 var channel = pusher.subscribe('test_channel'); channel.bind('my_event', function(data) { alert(data.message); }); 要测试它,请使用 Pusher 应用程序页面上提供的 Curl 命令,例如 curl -H 'Content-T
【文件预览】:
Magento_Pusher-master
----app()
--------etc()
--------code()
--------design()
----LICENSE(1KB)
----README.md(1KB)

网友评论