event.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. // 事件定义文件
  3. return [
  4. 'bind' => [
  5. ],
  6. 'listen' => [
  7. //支付异步回调
  8. 'PayNotify' => [
  9. 'addon\wechatpay\event\PayNotify'
  10. ],
  11. //支付方式,后台查询
  12. 'PayType' => [
  13. 'addon\wechatpay\event\PayType'
  14. ],
  15. //支付,前台应用
  16. 'Pay' => [
  17. 'addon\wechatpay\event\Pay'
  18. ],
  19. 'PayClose' => [
  20. 'addon\wechatpay\event\PayClose'
  21. ],
  22. 'PayRefund' => [
  23. 'addon\wechatpay\event\PayRefund'
  24. ],
  25. 'PayTransfer' => [
  26. 'addon\wechatpay\event\PayTransfer'
  27. ],
  28. 'TransferType' => [
  29. 'addon\wechatpay\event\TransferType'
  30. ],
  31. 'TransferResult' => [
  32. 'addon\wechatpay\event\TransferResult'
  33. ],
  34. //付款码支付异步回调
  35. 'AuthcodePay' => [
  36. 'addon\wechatpay\event\AuthcodePay'
  37. ],
  38. ],
  39. 'subscribe' => [
  40. ],
  41. ];