addons.php 825 B

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