menu.php 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?php
  2. return [
  3. 'dashboard'=>[
  4. 'name'=>'Dashboard',//控制台
  5. 'class' => '',
  6. 'icon'=>'el-icon-guide',
  7. 'controller'=>'dashboard',
  8. 'action'=>'index',
  9. 'routePath'=>'dashboard/index',
  10. 'show'=>1,
  11. 'wiki' => 'dashboard',
  12. 'child'=>[
  13. ['name'=>'Month Bonus', 'class'=>'', 'icon'=>'', 'controller'=>'dashboard', 'action'=>'bonus-num', 'routePath'=>'dashboard/bonus-num', 'show'=>0, 'wiki' => 'monthBonus',], // 月奖
  14. ]
  15. ],
  16. 'shop'=>[
  17. 'name'=>'Shopping Mall',//商城管理
  18. 'class' => '',
  19. 'icon'=>'el-icon-goods',
  20. 'controller'=>'shop',
  21. 'action'=>'',
  22. 'routePath'=>'shop',
  23. 'show'=>1,
  24. 'wiki' => 'shoppingMall',
  25. 'child'=>[
  26. ['name'=>'Repeat Purchase', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'standard-products', 'routePath'=>'shop/standard-products', 'show'=>1, 'wiki' => 'repeatPurchase',],//复消
  27. // ['name'=>'Car Fund Products', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'car-fund-products', 'routePath'=>'shop/car-fund-products', 'show'=>1, 'wiki' => 'carFundProducts',],//车奖商品
  28. // ['name'=>'Villa Fund Products', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'villa-fund-products', 'routePath'=>'shop/villa-fund-products', 'show'=>1, 'wiki' => 'villaFundProducts',],//房奖商品
  29. ['name'=>'My Order', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'own-order', 'routePath'=>'shop/own-order', 'show'=>1, 'wiki' => 'ownOrder',],//我的订单
  30. ]
  31. ],
  32. 'user'=>[
  33. 'name'=>'Member Management',//会员管理
  34. 'class' => '',
  35. 'icon'=>'el-icon-user',
  36. 'controller'=>'user',
  37. 'action'=>'',
  38. 'routePath'=>'user',
  39. 'show'=>1,
  40. 'wiki' => 'memberManagement',
  41. 'child'=>[
  42. ['name'=>'Member Welcome Pack', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'dec', 'routePath'=>'user/dec', 'show'=>1, 'wiki' => 'welcomePack',], // 会员报单
  43. ['name'=>'Member Repeat Purchase', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'reconsume', 'routePath'=>'shop/reconsume', 'show'=>1, 'wiki' => 'memberRepeatPurchase',],//会员复消
  44. ['name'=>'Member Auto Maintenance', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'reconsume', 'routePath'=>'shop/auto-maintenance', 'show'=>1, 'wiki' => 'memberAutoMaintenance',],//AMP
  45. ['name'=>'Member Upgrade', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'dec', 'routePath'=>'user/upgrade', 'show'=>1, /**'allow'=>'declarer',**/ 'wiki' => 'memberUpgrade',],//会员升级
  46. ['name'=>'Member Order', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'member-order', 'routePath'=>'shop/member-order', 'show'=>1, 'wiki' => 'memberOrder',],//会员订单
  47. ]
  48. ],
  49. 'atlas'=>[
  50. 'name'=>'Network Chart',
  51. 'class' => '',
  52. 'icon'=>'el-icon-data-line',
  53. 'controller'=>'atlas',
  54. 'action'=>'',
  55. 'routePath'=>'atlas',
  56. 'show'=>1,
  57. 'wiki' => 'networkChart',
  58. 'child'=>[
  59. // ['name'=>'Placement Network', 'class'=>'', 'icon'=>'', 'controller'=>'atlas', 'action'=>'network', 'routePath'=>'atlas/network', 'show'=>1, 'wiki' => 'placementNetwork',],//安置网络
  60. ['name'=>'Sponsor Network', 'class'=>'', 'icon'=>'', 'controller'=>'atlas', 'action'=>'relation', 'routePath'=>'atlas/relation', 'show'=>1, 'wiki' => 'sponsorNetwork',],//推荐网路
  61. // ['name'=>'Placement Network Ex', 'class'=>'', 'icon'=>'', 'controller'=>'atlas', 'action'=>'network-ex', 'routePath'=>'atlas/network', 'show'=>1, 'wiki' => 'placementNetworkEx',],//安置网络ex
  62. ['name'=>'Sponsor Network Ex', 'class'=>'', 'icon'=>'', 'controller'=>'atlas', 'action'=>'relation-ex', 'routePath'=>'atlas/relation', 'show'=>1, 'wiki' => 'sponsorNetworkEx',],//推荐网路ex
  63. ]
  64. ],
  65. 'bonus'=>[
  66. 'name'=>'Bonus Management',//奖金管理
  67. 'class' => '',
  68. 'icon'=>'el-icon-coin',
  69. 'controller'=>'bonus',
  70. 'action'=>'',
  71. 'routePath'=>'bonus',
  72. 'show'=>1,
  73. 'wiki' => 'bonusManagement',
  74. 'child'=>[
  75. ['name'=>'My Account', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'index', 'routePath'=>'bonus/index', 'show'=>1, 'wiki' => 'myAccount',],//我的账户
  76. ['name'=>'My Bonus', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'other', 'routePath'=>'bonus/other', 'show'=>1,'allow'=>'pastBonusSwitch', 'wiki' => 'myBonus'],//我的奖金
  77. ['name'=>'Team Inquiry', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'teams', 'routePath'=>'bonus/teams', 'show'=>1, 'wiki' => 'teamInquiry'], // 团队查询
  78. ['name'=>'Historical Cumulative Bonus', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'other', 'routePath'=>'bonus/historical-cumulative-bonus', 'show'=>1,'allow'=>'pastBonusSwitch', 'wiki' => 'historicalCumulativeBonus'],//历史累积奖金
  79. ['name'=>'Withdrawal Details', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'withdraw', 'routePath'=>'finance/withdraw', 'show'=>0, 'wiki' => 'withdrawalDetails'],//提现明细
  80. ['name'=>'Apply For Withdraw', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'withdraw-add', 'routePath'=>'finance/withdraw-add', 'show'=>0, 'wiki' => 'applyWithdraw'],// 申请提现
  81. ['name'=>'Recharge Details', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'recharge', 'routePath'=>'finance/recharge', 'show'=>1, 'wiki' => 'rechargeDetails'],//充值明细
  82. ['name'=>'Apply For Recharge', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'recharge-add', 'routePath'=>'finance/recharge-add', 'show'=>0, 'wiki' => 'applyRecharge'], // 申请充值
  83. ['name'=>'Apply For Recharge Update', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'recharge-update', 'routePath'=>'finance/recharge-update', 'show'=>0, 'wiki' => 'applyRechargeUpdate'], // 申请充值
  84. ['name'=>'Transfer Details', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'transfer-list', 'routePath'=>'finance/transfer-list', 'show'=>1,'allow'=>'transferRecordSwitch', 'wiki' => 'transferDetails'],//转账明细
  85. ['name'=>'Apply For Transfer', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'transfer-add', 'routePath'=>'finance/transfer-add', 'show'=>0,'allow'=>'transferSwitch', 'wiki' => 'applyTransfer'], // 申请转账
  86. ]
  87. ],
  88. 'article'=>[
  89. 'name'=>'Article Management',//文章管理
  90. 'class' => '',
  91. 'icon'=>'el-icon-document',
  92. 'controller'=>'article',
  93. 'action'=>'',
  94. 'routePath'=>'article',
  95. 'show'=>1,
  96. 'wiki' => 'articleManagement',
  97. 'child'=>[
  98. ['name'=>'System Notification', 'class'=>'', 'icon'=>'', 'controller'=>'article', 'action'=>'article-list', 'routePath'=>'article/article-list', 'show'=>1, 'wiki' => 'systemNotification'],//系统通知
  99. ]
  100. ],
  101. 'config'=>[
  102. 'name'=>'Personal Center',//个人中心
  103. 'class' => '',
  104. 'icon'=>'el-icon-setting',
  105. 'controller'=>'config',
  106. 'action'=>'',
  107. 'routePath'=>'config',
  108. 'show'=>1,
  109. 'wiki' => 'setting',
  110. 'child'=>[
  111. ['name'=>'Shipping Address', 'class'=>'', 'icon'=>'', 'controller'=>'config', 'action'=>'receive-address-list', 'routePath'=>'config/receive-address-list', 'show'=>1, 'wiki' => 'shippingAddress'],//收货地址
  112. ['name'=>'Personal Info', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'index', 'routePath'=>'user/index', 'show'=>1, 'wiki' => 'personalInfo',],//个人信息
  113. // ['name'=>'Reset Password', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'password', 'routePath'=>'user/password', 'show'=>1, 'wiki' => 'resetPassword',],//重设密码
  114. ]
  115. ],
  116. ];