addons.php 833 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. return [
  3. 'autoload' => false,
  4. 'hooks' => [
  5. 'app_init' => [
  6. 'alioss',
  7. 'epay',
  8. 'qrcode',
  9. ],
  10. 'module_init' => [
  11. 'alioss',
  12. ],
  13. 'upload_config_init' => [
  14. 'alioss',
  15. ],
  16. 'upload_delete' => [
  17. 'alioss',
  18. ],
  19. 'user_sidenav_after' => [
  20. 'poster',
  21. ],
  22. 'config_init' => [
  23. 'qcloudsms',
  24. 'umeditor',
  25. ],
  26. 'sms_send' => [
  27. 'qcloudsms',
  28. ],
  29. 'sms_notice' => [
  30. 'qcloudsms',
  31. ],
  32. 'sms_check' => [
  33. 'qcloudsms',
  34. ],
  35. ],
  36. 'route' => [
  37. '/qrcode$' => 'qrcode/index/index',
  38. '/qrcode/build$' => 'qrcode/index/build',
  39. ],
  40. 'priority' => [],
  41. ];