menuV2.php 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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'=>'Standard Products', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'standard-products', 'routePath'=>'shop/standard-products', 'show'=>1, 'wiki' => 'standardProducts',],//普通商品
  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'=>'Welcome Pack', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'dec', 'routePath'=>'user/dec', 'show'=>1,'allow'=>'declarer', 'wiki' => 'welcomePack',], // 报单管理
  30. ['name'=>'Welcome Pack Listing', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'dec-order-list', 'routePath'=>'shop/dec-order-list', 'show'=>1, 'wiki' => 'welcomePackList',],//报单列表
  31. ['name'=>'Upgrade Management', 'class'=>'', 'icon'=>'', 'controller'=>'upgrade', 'action'=>'dec', 'routePath'=>'user/upgrade', 'show'=>1,'allow'=>'declarer', 'wiki' => 'memberUpgrade',],//升级管理
  32. ['name'=>'Order List', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'order-list', 'routePath'=>'shop/order-list', 'show'=>1, 'wiki' => 'orderList',],//订单列表
  33. ['name'=>'Brand Ambassador', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'ba-dec', 'routePath'=>'user/ba-dec', 'show'=>1,'allow'=>'declarer', 'wiki' => 'brandAmbassador',],// BA会员
  34. ['name'=>'BA Order List', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'ba-dec-order-list', 'routePath'=>'shop/ba-dec-order-list', 'show'=>1,'allow'=>'declarer', 'wiki' => 'BAOrderList',],// BA订单
  35. ]
  36. ],
  37. 'user'=>[
  38. 'name'=>'Member Management',//会员管理
  39. 'class' => '',
  40. 'icon'=>'el-icon-user',
  41. 'controller'=>'user',
  42. 'action'=>'',
  43. 'routePath'=>'user',
  44. 'show'=>0,
  45. 'wiki' => 'memberManagement',
  46. 'child'=>[
  47. ['name'=>'Personal Info', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'index', 'routePath'=>'user/index', 'show'=>0, 'wiki' => 'personalInfo',],//个人资料
  48. ['name'=>'Reset Password', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'password', 'routePath'=>'user/password', 'show'=>0, 'wiki' => 'resetPassword',],//重设密码
  49. ]
  50. ],
  51. 'atlas'=>[
  52. 'name'=>'Network Chart',
  53. 'class' => '',
  54. 'icon'=>'el-icon-data-line',
  55. 'controller'=>'atlas',
  56. 'action'=>'',
  57. 'routePath'=>'atlas',
  58. 'show'=>1,
  59. 'wiki' => 'networkChart',
  60. 'child'=>[
  61. ['name'=>'Placement Network', 'class'=>'', 'icon'=>'', 'controller'=>'atlas', 'action'=>'network', 'routePath'=>'atlas/network', 'show'=>1, 'wiki' => 'placementNetwork',],//安置网络
  62. ['name'=>'Sponsor Network', 'class'=>'', 'icon'=>'', 'controller'=>'atlas', 'action'=>'relation', 'routePath'=>'atlas/relation', 'show'=>1, 'wiki' => 'sponsorNetwork',],//推荐网路
  63. ['name'=>'Brand Ambassador List', 'class'=>'', 'icon'=>'', 'controller'=>'atlas', 'action'=>'brand-ambassador-list', 'routePath'=>'atlas/brand-ambassador-list', 'show'=>1, 'wiki' => 'brandAmbassadorList',],// BA会员
  64. ]
  65. ],
  66. 'bonus'=>[
  67. 'name'=>'Bonus Management',//奖金管理
  68. 'class' => '',
  69. 'icon'=>'el-icon-coin',
  70. 'controller'=>'bonus',
  71. 'action'=>'',
  72. 'routePath'=>'bonus',
  73. 'show'=>1,
  74. 'wiki' => 'bonusManagement',
  75. 'child'=>[
  76. ['name'=>'My Account', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'index', 'routePath'=>'bonus/index', 'show'=>1, 'wiki' => 'myAccount',],//我的账户
  77. ['name'=>'My Bonus', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'other', 'routePath'=>'bonus/other', 'show'=>1,'allow'=>'pastBonusSwitch', 'wiki' => 'myBonus'],//我的奖金
  78. ['name'=>'Team Inquiry', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'teams', 'routePath'=>'bonus/teams', 'show'=>1, 'wiki' => 'teamInquiry'], // 团队查询
  79. ['name'=>'Historical Cumulative Bonus', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'other', 'routePath'=>'bonus/historical-cumulative-bonus', 'show'=>1,'allow'=>'pastBonusSwitch', 'wiki' => 'historicalCumulativeBonus'],//历史累积奖金
  80. ['name'=>'Withdrawal Details', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'withdraw', 'routePath'=>'finance/withdraw', 'show'=>0, 'wiki' => 'withdrawalDetails'],//提现明细
  81. ['name'=>'Apply For Withdraw', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'withdraw-add', 'routePath'=>'finance/withdraw-add', 'show'=>0, 'wiki' => 'applyWithdraw'],// 申请提现
  82. ['name'=>'Recharge Details', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'recharge', 'routePath'=>'finance/recharge', 'show'=>1, 'wiki' => 'rechargeDetails'],//充值明细
  83. ['name'=>'Apply For Recharge', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'recharge-add', 'routePath'=>'finance/recharge-add', 'show'=>0, 'wiki' => 'applyRecharge'], // 申请充值
  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'=>'Setting',//设置
  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. ]
  113. ],
  114. ];