addons.php 836 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. return [
  3. 'autoload' => false,
  4. 'hooks' => [
  5. 'app_init' => [
  6. 'cos',
  7. 'epay',
  8. ],
  9. 'upload_config_init' => [
  10. 'cos',
  11. ],
  12. 'upload_delete' => [
  13. 'cos',
  14. ],
  15. 'config_init' => [
  16. 'qcloudsms',
  17. ],
  18. 'sms_send' => [
  19. 'qcloudsms',
  20. ],
  21. 'sms_notice' => [
  22. 'qcloudsms',
  23. ],
  24. 'sms_check' => [
  25. 'qcloudsms',
  26. ],
  27. 'user_sidenav_after' => [
  28. 'withdraw',
  29. ],
  30. ],
  31. 'route' => [
  32. '/example$' => 'example/index/index',
  33. '/example/d/[:name]' => 'example/demo/index',
  34. '/example/d1/[:name]' => 'example/demo/demo1',
  35. '/example/d2/[:name]' => 'example/demo/demo2',
  36. ],
  37. 'priority' => [],
  38. ];