saas_admin_permission.php 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. //saas版超级管理员菜单权限
  8. return [
  9. // [
  10. // 'key' => 'dashboard',
  11. // 'title' => '概况',
  12. // ],
  13. [
  14. 'key' => 'saasStore',
  15. 'title' => '店铺',
  16. 'children' => [
  17. [
  18. 'key' => 'saasStoreList',
  19. 'title' => '店铺列表',
  20. ],
  21. [
  22. 'key' => 'saasStoreCategory',
  23. 'title' => '店铺分类',
  24. ],
  25. [
  26. 'key' => 'saasStoreSetting',
  27. 'title' => '店铺设置',
  28. ],
  29. [
  30. 'key' => 'saasStoreApply',
  31. 'title' => '店铺申请',
  32. ],
  33. [
  34. 'key' => 'saasAgencyStoreRenew',
  35. 'title' => '店铺缴费',
  36. ],
  37. [
  38. 'key' => 'saasAgencyMoneyCode',
  39. 'title' => '收款码',
  40. ],
  41. [
  42. 'key' => 'saasAgencyAllianceMoneyCode',
  43. 'title' => '联盟收款码',
  44. ],
  45. [
  46. 'key' => 'saasAgencyPayApply',
  47. 'title' => '进件列表',
  48. ],
  49. [
  50. 'key' => 'saasFoodsCode',
  51. 'title' => '点餐码配置',
  52. ],
  53. [
  54. 'key' => 'saasStoreApplyConf',
  55. 'title' => '店铺申请配置',
  56. ],
  57. [
  58. 'key' => 'saasStoreCopy',
  59. 'title' => '店铺复制',
  60. ],
  61. [
  62. 'key' => 'saasStoreTemplate',
  63. 'title' => '店铺模板',
  64. ],
  65. [
  66. 'key' => 'saasStoreSync',
  67. 'title' => '店铺同步',
  68. ],
  69. [
  70. 'key' => 'migration',
  71. 'title' => '店铺迁移',
  72. ],
  73. ],
  74. ],
  75. [
  76. 'key' => 'saasAgency',
  77. 'title' => '区域',
  78. 'children' => [
  79. [
  80. 'key' => 'saasAgencyList',
  81. 'title' => '区域管理员',
  82. 'children' => [
  83. [
  84. 'key' => 'saasAgencyList',
  85. 'title' => '管理列表',
  86. ],
  87. [
  88. 'key' => 'saasAgencySetting',
  89. 'title' => '代理中心设置',
  90. ],
  91. [
  92. 'key' => 'areaAgentApply',
  93. 'title' => '区域代理申请列表'
  94. ],
  95. ]
  96. ],
  97. [
  98. 'key' => 'goodsAgent',
  99. 'title' => '产品代理',
  100. 'children' => [
  101. [
  102. 'key' => 'goodsAgent',
  103. 'title' => '产品代理',
  104. ],
  105. [
  106. 'key' => 'goodsAgentSetting',
  107. 'title' => '佣金设置',
  108. ],
  109. [
  110. 'key' => 'goodsAgentApply',
  111. 'title' => '代理申请',
  112. ]
  113. ]
  114. ],
  115. [
  116. 'key' => 'frontAgent',
  117. 'title' => '仓库管理',
  118. 'children' => [
  119. [
  120. 'key' => 'frontAgent',
  121. 'title' => '仓库管理',
  122. ],
  123. [
  124. 'key' => 'frontAgentBindSupplier',
  125. 'title' => '绑定供货商',
  126. ],
  127. [
  128. 'key' => 'frontAgentBindStore',
  129. 'title' => '绑定商家',
  130. ],
  131. [
  132. 'key' => 'frontAgentBindStoreMd',
  133. 'title' => '绑定门店',
  134. ],
  135. ]
  136. ],
  137. [
  138. 'key' => 'countrysideList',
  139. 'title' => '村镇管理',
  140. 'children' => [
  141. [
  142. 'key' => 'countrysideAdd',
  143. 'title' => '新增',
  144. 'type' => 'action',
  145. ],
  146. [
  147. 'key' => 'countrysideEdit',
  148. 'title' => '编辑',
  149. 'type' => 'action',
  150. ],
  151. [
  152. 'key' => 'countrysideDelete',
  153. 'title' => '删除',
  154. 'type' => 'action',
  155. ],
  156. ],
  157. ],
  158. ],
  159. ],
  160. [
  161. 'key' => 'bdAgent',
  162. 'title' => '推广代理',
  163. 'children' => [
  164. [
  165. 'key' => 'bdAgentList',
  166. 'title' => '推广代理',
  167. ],
  168. [
  169. 'key' => 'bdAgentProfitSet',
  170. 'title' => '佣金设置',
  171. ],
  172. [
  173. 'key' => 'saasAgencySalesman',
  174. 'title' => '业务员',
  175. ],
  176. [
  177. 'key' => 'bdAgentApply',
  178. 'title' => '代理申请',
  179. ],
  180. ]
  181. ],
  182. [
  183. 'key' => 'saasAllianceUser',
  184. 'title' => '用户',
  185. 'children' => [
  186. [
  187. 'key' => 'saasAllianceUserList',
  188. 'title' => '联盟用户',
  189. ],
  190. [
  191. 'key' => 'storeOperations',
  192. 'title' => '运营人员',
  193. ]
  194. ],
  195. ],
  196. [
  197. 'key' => 'saasDiy',
  198. 'title' => '装修',
  199. ],
  200. [
  201. 'key' => 'saasAlliance',
  202. 'title' => '联盟',
  203. 'children' => [
  204. [
  205. 'key' => 'saasAllianceShareAll',
  206. 'title' => '分润设置总项',
  207. ],
  208. [
  209. 'key' => 'saasAllianceStoreShare',
  210. 'title' => '店铺分销',
  211. 'children' => [
  212. [
  213. 'key' => 'saasAllianceStoreShareInfo',
  214. 'title' => '店铺分销',
  215. ],
  216. [
  217. 'key' => 'saasAllianceStoreShareProfit',
  218. 'title' => '佣金明细',
  219. ],
  220. ]
  221. ],
  222. [
  223. 'key' => 'saasAllianceShare',
  224. 'title' => '联盟分销',
  225. ],
  226. [
  227. 'key' => 'saasAllianceCouponSetting',
  228. 'title' => '联盟券设置',
  229. ],
  230. [
  231. 'key' => 'saasAllianceStoreRecommender',
  232. 'title' => '店铺推荐人',
  233. ],
  234. [
  235. 'key' => 'saasAllianceConsumeRebate',
  236. 'title' => '消费返利',
  237. ],
  238. [
  239. 'key' => 'saasAllianceFaceIntegral',
  240. 'title' => '当面付店铺积分',
  241. ],
  242. [
  243. 'key' => 'saasAllianceUserAuth',
  244. 'title' => '会员权限',
  245. ],
  246. [
  247. 'key' => 'saasAllianceSupplierAuth',
  248. 'title' => '供货商推荐人',
  249. ],
  250. [
  251. 'key' => 'sharingReceiverCustom',
  252. 'title' => '灵活分润',
  253. ],
  254. ],
  255. ],
  256. [
  257. 'key' => 'saasAuthManage',
  258. 'title' => '员工',
  259. 'children' => [
  260. [
  261. 'key' => 'saasAccountManage',
  262. 'title' => '账号管理',
  263. 'children' => [
  264. [
  265. 'key' => 'saasAccountManageAdd',
  266. 'title' => '新增',
  267. 'type' => 'action',
  268. ],
  269. [
  270. 'key' => 'saasAccountManageEdit',
  271. 'title' => '编辑',
  272. 'type' => 'action',
  273. ],
  274. [
  275. 'key' => 'saasAccountManageDelete',
  276. 'title' => '删除',
  277. 'type' => 'action',
  278. ],
  279. ],
  280. ],
  281. [
  282. 'key' => 'saasRoleManage',
  283. 'title' => '角色管理',
  284. 'children' => [
  285. [
  286. 'key' => 'saasRoleManageEdit',
  287. 'title' => '编辑',
  288. 'type' => 'action',
  289. ],
  290. [
  291. 'key' => 'saasRoleManageAdd',
  292. 'title' => '新增',
  293. 'type' => 'action',
  294. ],
  295. [
  296. 'key' => 'saasRoleManageDelete',
  297. 'title' => '删除',
  298. 'type' => 'action',
  299. ],
  300. ],
  301. ],
  302. ]
  303. ],
  304. [
  305. 'key' => 'saasMarketingBusiness',
  306. 'title' => '营销',
  307. 'children' => [
  308. [
  309. 'key' => 'saasMemberManageBusiness',
  310. 'title' => '会员卡',
  311. ],
  312. [
  313. 'key' => 'saasCouponManageBusiness',
  314. 'title' => '优惠券',
  315. ],
  316. [
  317. 'key' => 'saasDistribution',
  318. 'title' => '推广海报设置',
  319. 'children' => [
  320. [
  321. 'key' => 'saasDistributionPoster',
  322. 'title' => '推广海报',
  323. ],
  324. ]
  325. ],
  326. [
  327. 'key' => 'saasMarketingWeChatVipCard',
  328. 'title' => '微信会员卡',
  329. ],
  330. [
  331. 'key' => 'jushuitan',
  332. 'title' => '聚水潭',
  333. ],
  334. [
  335. 'key' => 'maiyatian',
  336. 'title' => '麦芽田',
  337. ],
  338. [
  339. 'key' => 'keloop',
  340. 'title' => '快跑者',
  341. ],
  342. [
  343. 'key' => 'localDelivery',
  344. 'title' => '同城配送',
  345. ],
  346. [
  347. 'key' => 'SaasIntegralStore',
  348. 'title' => '积分商城',
  349. ],
  350. [
  351. 'key' => 'SaasPtActivity',
  352. 'title' => '拼团',
  353. ],
  354. [
  355. 'key' => 'SaasCutPriceActivity',
  356. 'title' => '砍价',
  357. ],
  358. [
  359. 'key' => 'SaasSeckillActivity',
  360. 'title' => '秒杀',
  361. ],
  362. [
  363. 'key' => 'SaasNewUserActivity',
  364. 'title' => '新人专享',
  365. ],
  366. [
  367. 'key' => 'SaasStoreDividends',
  368. 'title' => '某店分红',
  369. ]
  370. ],
  371. ],
  372. [
  373. 'key' => 'saasCloudPlatform',
  374. 'title' => '云仓',
  375. 'children' => [
  376. [
  377. 'key' => 'saasCloudPlatformApply',
  378. 'title' => '云仓申请',
  379. 'children' => [
  380. [
  381. 'key' => 'saasCloudPlatformSetting',
  382. 'title' => '云仓申请',
  383. ]
  384. ]
  385. ],
  386. [
  387. 'key' => 'saasCloudPlatformUser',
  388. 'title' => '云仓用户',
  389. 'children' => [
  390. [
  391. 'key' => 'saasCloudPlatformUser',
  392. 'title' => '会员等级',
  393. ],
  394. [
  395. 'key' => 'cloudPlatformUserChannel',
  396. 'title' => '供货渠道',
  397. ],
  398. ]
  399. ],
  400. [
  401. 'key' => 'saasCloudPlatformSupplier',
  402. 'title' => '云仓供货商',
  403. ],
  404. [
  405. 'key' => 'saasCloudPlatformGoods',
  406. 'title' => '云仓商品',
  407. 'children' => [
  408. [
  409. 'key' => 'saasCloudPlatformGoodsCat',
  410. 'title' => '商品分类',
  411. ]
  412. ]
  413. ],
  414. [
  415. 'key' => 'saasCloudPlatformFinance',
  416. 'title' => '云仓财务',
  417. ],
  418. [
  419. 'key' => 'saasCloudPlatformStbz',
  420. 'title' => '胜天半子',
  421. ],
  422. [
  423. 'key' => 'saasCloudPlatformOrder',
  424. 'title' => '云仓订单',
  425. ],
  426. [
  427. 'key' => 'profitStrategy',
  428. 'title' => '成本定价',
  429. ],
  430. ],
  431. ],
  432. [
  433. 'key' => 'saasProfit',
  434. 'title' => '财务',
  435. 'children' => [
  436. [
  437. 'key' => 'saasProfitAgent',
  438. 'title' => '代理商提现',
  439. ],
  440. [
  441. 'key' => 'saasProfitSplitAccounts',
  442. 'title' => '分账记录',
  443. ],
  444. [
  445. 'key' => 'saasProfitUserWithdraw',
  446. 'title' => '用户提现',
  447. ],
  448. [
  449. 'key' => 'saasStoreCash',
  450. 'title' => '商城提现',
  451. ],
  452. [
  453. 'key' => 'cloudProfit',
  454. 'title' => '云仓报表',
  455. ],
  456. [
  457. 'key' => 'saasStoreProfitList',
  458. 'title' => '让利分配明细',
  459. ],
  460. ],
  461. ],
  462. [
  463. 'key' => 'saasSetting',
  464. 'title' => '设置',
  465. 'children' => [
  466. [
  467. 'key' => 'saasSettingBase',
  468. 'title' => '基础设置',
  469. 'children' => [
  470. [
  471. 'key' => 'mapSetting',
  472. 'title' => '地图设置',
  473. ],
  474. ]
  475. ],
  476. [
  477. 'key' => 'saasSettingService',
  478. 'title' => '服务商设置',
  479. 'children' => [
  480. [
  481. 'key' => 'saasSettingServiceWechat',
  482. 'title' => '微信服务商配置',
  483. ],
  484. [
  485. 'key' => 'saasSettingServiceAli',
  486. 'title' => '支付宝服务商配置',
  487. ],
  488. [
  489. 'key' => 'storeAdminYunst',
  490. 'title' => '通联设置',
  491. ]
  492. ]
  493. ],
  494. [
  495. 'key' => 'saasSettingThird',
  496. 'title' => '第三方设置',
  497. 'children' => [
  498. [
  499. 'key' => 'saasSettingThirdWechat',
  500. 'title' => '抖音三方平台配置',
  501. ],
  502. [
  503. 'key' => 'saasSettingThirdAli',
  504. 'title' => '支付宝三方平台配置',
  505. ],
  506. [
  507. 'key' => 'saasSettingThirdDouyin',
  508. 'title' => '抖音三方平台配置',
  509. ],
  510. [
  511. 'key' => 'saasSettingThirdWechatTemplate',
  512. 'title' => '微信模板上传',
  513. ],
  514. [
  515. 'key' => 'saasSettingThirdAliTemplate',
  516. 'title' => '支付宝模板上传',
  517. ]
  518. ],
  519. ],
  520. [
  521. 'key' => 'saasOcrSetting',
  522. 'title' => 'ocr设置',
  523. ],
  524. [
  525. 'key' => 'saasClientSetting',
  526. 'title' => '联盟端设置',
  527. 'children' => [
  528. [
  529. 'key' => 'SaasSettingWechatPay',
  530. 'title' => '联盟微信配置',
  531. ],
  532. [
  533. 'key' => 'SaasSettingAliPay',
  534. 'title' => '联盟支付宝配置',
  535. ],
  536. [
  537. 'key' => 'FoodSetting',
  538. 'title' => '点餐设置',
  539. ],
  540. [
  541. 'key' => 'allianceUploadWechat',
  542. 'title' => '联盟微信小程序发布',
  543. ],
  544. ]
  545. ],
  546. [
  547. 'key' => 'saasSingleStoreSetting',
  548. 'title' => '供应链端设置',
  549. ],
  550. [
  551. 'key' => 'storeForbiddenDirectory',
  552. 'title' => '店铺禁售目录',
  553. ],
  554. [
  555. 'key' => 'saasMchMiniSetting',
  556. 'title' => '服务端小程序设置',
  557. 'children' => [
  558. [
  559. 'key' => 'SaasSmsSetting',
  560. 'title' => '服务端短信申请',
  561. ],
  562. ]
  563. ],
  564. [
  565. 'key' => 'addressRecognitionSetting',
  566. 'title' => '地址识别设置',
  567. ],
  568. [
  569. 'key' => 'saasUpgrade',
  570. 'title' => '系统升级',
  571. ],
  572. [
  573. 'key' => 'saasProtocol',
  574. 'title' => '协议设置',
  575. ],
  576. [
  577. 'key' => 'saasAdapay',
  578. 'title' => '汇付支付',
  579. ],
  580. [
  581. 'key' => 'saasYunst',
  582. 'title' => '通联支付',
  583. ],
  584. [
  585. 'key' => 'timerTaskCopy',
  586. 'title' => '定时任务',
  587. ],
  588. ],
  589. ],
  590. ];