backend.php 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <?php
  2. return [
  3. // ----------------------- 菜单配置 ----------------------- //
  4. 'config' => [
  5. // 菜单配置
  6. 'menu' => [
  7. 'location' => 'default', // default:系统顶部菜单;addons:应用中心菜单
  8. 'icon' => 'fa fa-puzzle-piece',
  9. ],
  10. // 子模块配置
  11. 'modules' => [
  12. ],
  13. ],
  14. // ----------------------- 快捷入口 ----------------------- //
  15. 'cover' => [
  16. ],
  17. // ----------------------- 菜单配置 ----------------------- //
  18. 'menu' => [
  19. [
  20. 'title' => '支付设置',
  21. 'route' => 'default/index',
  22. 'icon' => '',
  23. 'params' => [
  24. ],
  25. 'child' => [
  26. ],
  27. ],
  28. [
  29. 'title' => '订单列表',
  30. 'route' => 'order/index',
  31. 'icon' => '',
  32. 'params' => [
  33. ],
  34. 'child' => [
  35. ],
  36. ],
  37. ],
  38. // ----------------------- 权限配置 ----------------------- //
  39. 'authItem' => [
  40. [
  41. 'title' => '所有权限',
  42. 'name' => '',
  43. ],
  44. ],
  45. // ----------------------- APP链接 ----------------------- //
  46. 'links' => [
  47. //[
  48. //'title' => '',
  49. //'route' => '',
  50. //'icon' => '',
  51. //'params' => [],
  52. //],
  53. ],
  54. // ----------------------- 事件处理 ----------------------- //
  55. 'events' => [
  56. //[
  57. //'event_name' => '',
  58. //'listeners' => []
  59. //],
  60. ],
  61. 'invoker' => [
  62. [
  63. 'invoker_id' => \common\enums\GlobalFuncEnum::PAYMENT_LIST,
  64. 'class' => 'addons\Sicpay\common\global_func\PaymentList',
  65. 'method' => 'getPaymentList'
  66. ],
  67. [
  68. 'invoker_id' => \common\enums\GlobalFuncEnum::PAYMENT_TYPE,
  69. 'class' => 'addons\Sicpay\common\global_func\PaymentList',
  70. 'method' => 'getPaymentType'
  71. ],
  72. [
  73. 'invoker_id' => \common\enums\GlobalFuncEnum::INVOKE_PAYMENT,
  74. 'class' => 'addons\Sicpay\common\global_func\Payment',
  75. 'method' => 'pay'
  76. ],
  77. ],
  78. ];