addons.php 966 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. return [
  3. 'autoload' => false,
  4. 'hooks' => [
  5. 'app_init' => [
  6. 'cos',
  7. 'qrcode',
  8. 'unishop',
  9. ],
  10. 'module_init' => [
  11. 'cos',
  12. ],
  13. 'upload_config_init' => [
  14. 'cos',
  15. ],
  16. 'upload_delete' => [
  17. 'cos',
  18. ],
  19. 'epay_config_init' => [
  20. 'epay',
  21. ],
  22. 'addon_action_begin' => [
  23. 'epay',
  24. ],
  25. 'action_begin' => [
  26. 'epay',
  27. ],
  28. 'config_init' => [
  29. 'qcloudsms',
  30. 'summernote',
  31. ],
  32. 'sms_send' => [
  33. 'qcloudsms',
  34. ],
  35. 'sms_notice' => [
  36. 'qcloudsms',
  37. ],
  38. 'sms_check' => [
  39. 'qcloudsms',
  40. ],
  41. ],
  42. 'route' => [
  43. '/qrcode$' => 'qrcode/index/index',
  44. '/qrcode/build$' => 'qrcode/index/build',
  45. ],
  46. 'priority' => [],
  47. 'domain' => '',
  48. ];