addons.php 848 B

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