interface_permission.php 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. return [
  8. // 概况
  9. 'dashboard' => [
  10. 'admin/dashboard/data',
  11. 'admin/dashboard/operations',
  12. 'admin/dashboard/order-data',
  13. 'admin/dashboard/goods-data'
  14. ],
  15. // 数据统计
  16. 'dataStatistic' => [
  17. 'admin/statistic/data/collect'
  18. ],
  19. // 商品销售统计
  20. 'goodsStatistic' => [
  21. 'admin/statistic/goods/sale'
  22. ],
  23. // 商户数据统计
  24. 'mchStatistic' => [
  25. 'admin/statistic/mch/count'
  26. ],
  27. // 商城
  28. 'settingEdit' => [
  29. 'admin/setting/setting/get-setting'
  30. ],
  31. // 基础设置
  32. 'basic_edit' => [
  33. 'admin/setting/setting/save-setting'
  34. ],
  35. // app设置
  36. 'app_edit' => [
  37. 'admin/setting/setting/save-setting'
  38. ],
  39. // 微信设置
  40. 'weixin_edit' => [
  41. 'admin/setting/setting/save-setting'
  42. ],
  43. // 显示设置
  44. 'display_edit' => [
  45. 'admin/setting/setting/save-setting'
  46. ],
  47. // 网站设置
  48. 'web_edit' => [
  49. 'admin/setting/setting/save-setting'
  50. ],
  51. // 入驻商设置
  52. 'mch_edit' => [
  53. 'admin/setting/setting/save-setting'
  54. ],
  55. // 运费规则
  56. 'postageList' => [
  57. 'admin/setting/postage/list',
  58. ],
  59. 'postage_edit' => [
  60. 'admin/setting/postage/edit',
  61. 'admin/setting/postage/status',
  62. 'admin/setting/postage/save',
  63. ],
  64. 'postage_delete' => [
  65. 'admin/setting/postage/delete',
  66. ],
  67. // 包邮规则
  68. 'freeDelivery' => [
  69. 'admin/setting/free/list'
  70. ],
  71. 'free_delivery_edit' => [
  72. 'admin/setting/free/edit',
  73. 'admin/setting/free/save',
  74. ],
  75. 'free_delivery_delete' => [
  76. 'admin/setting/free/del',
  77. ],
  78. // 区域设置
  79. 'area_edit' => [
  80. 'admin/setting/territorial/save',
  81. ],
  82. 'area_add' => [
  83. 'admin/setting/territorial/edit',
  84. ],
  85. // 起送规则
  86. 'offer_price_add' => [
  87. 'admin/setting/offer-price/save',
  88. ],
  89. 'offer_price_edit' => [
  90. 'admin/setting/offer-price/edit',
  91. ],
  92. // 退货地址设置
  93. 'refundAddress' => [
  94. 'admin/setting/refund-address/list'
  95. ],
  96. 'refund_address_add' => [
  97. 'admin/setting/refund-address/save',
  98. ],
  99. 'refund_address_edit' => [
  100. 'admin/setting/refund-address/edit',
  101. ],
  102. 'refund_address_delete' => [
  103. 'admin/setting/refund-address/del',
  104. ],
  105. // 电子面单
  106. 'express' => [
  107. 'admin/setting/express/list'
  108. ],
  109. 'express_add' => [
  110. 'admin/setting/express/save'
  111. ],
  112. 'express_edit' => [
  113. 'admin/setting/postage/edit',
  114. ],
  115. 'express_delete' => [
  116. 'admin/setting/postage/del',
  117. ],
  118. // 云打印设置
  119. 'cloud' => [
  120. 'admin/setting/cloud/list'
  121. ],
  122. 'cloud_add' => [
  123. 'admin/setting/cloud/save',
  124. ],
  125. 'cloud_edit' => [
  126. 'admin/setting/cloud/edit',
  127. 'admin/setting/cloud/save-setting',
  128. ],
  129. 'cloud_delete' => [
  130. 'admin/setting/cloud/del',
  131. ],
  132. // 小票打印
  133. 'printer' => [
  134. 'admin/setting/printer/list'
  135. ],
  136. 'printer_add' => [
  137. 'admin/setting/printer/save',
  138. ],
  139. 'printer_edit' => [
  140. 'admin/setting/printer/edit',
  141. 'admin/setting/printer/save-setting',
  142. ],
  143. 'printer_delete' => [
  144. 'admin/setting/printer/del',
  145. ],
  146. // 清空缓存
  147. 'cache' => [
  148. 'admin/cache/submit'
  149. ],
  150. // 消息通知
  151. 'noticeConfig' => [
  152. 'admin/notice/notice',
  153. 'admin/notice/notice-save',
  154. 'admin/notice/get-tamplate-id',
  155. 'admin/setting/sms/index'
  156. ],
  157. // 商品列表
  158. 'goodsList' => [
  159. 'admin/goods/list'
  160. ],
  161. 'goods_add' => [
  162. 'admin/goods/save',
  163. 'admin/goods/taobao-copy',
  164. ],
  165. 'goods_edit' => [
  166. 'admin/goods/edit',
  167. 'admin/goods/update-all',
  168. 'admin/goods/set-attr-num',
  169. 'admin/goods/goods-copy',
  170. 'admin/goods/set-attr-attribute',
  171. 'admin/goods/get-qr',
  172. 'admin/goods/status',
  173. ],
  174. 'goods_delete' => [
  175. ],
  176. // 规格库
  177. 'attr_edit' => [
  178. 'admin/attr-library/list',
  179. 'admin/attr-library/save',
  180. 'admin/attr-library/status',
  181. 'admin/attr-library/del',
  182. ],
  183. // 分类列表
  184. 'catList' => [
  185. 'admin/goods/cat-list',
  186. ],
  187. 'cat_edit' => [
  188. 'admin/goods/cat-save',
  189. 'admin/goods/cat-status',
  190. 'admin/goods/cat-del',
  191. ],
  192. // 订单列表
  193. 'orderList' => [
  194. 'admin/order/list'
  195. ],
  196. 'order_edit' => [
  197. 'admin/order/apply-order-delete',
  198. 'admin/order/seller-comments',
  199. 'admin/order/send',
  200. 'admin/order/confirm',
  201. 'admin/order/print-order',
  202. 'admin/order/print',
  203. 'admin/order/clerk',
  204. 'admin/order/express-detail',
  205. 'admin/order/modify-price',
  206. 'admin/order/set-words',
  207. 'admin/order/set-order-address',
  208. ],
  209. 'order_delete' => [
  210. 'admin/order/edit',
  211. ],
  212. 'orderDetails' => [
  213. 'admin/order/list'
  214. ],
  215. // 自提订单
  216. 'orderOfflineList' => [
  217. 'admin/order/list'
  218. ],
  219. 'offline_edit' => [
  220. 'admin/order/update-shop',
  221. ],
  222. 'offline_delete' => [
  223. ],
  224. // 售后订单
  225. 'orderRefundList' => [
  226. 'admin/order/refund'
  227. ],
  228. 'refund_edit' => [
  229. 'admin/order/refund-handle'
  230. ],
  231. 'refund_delete' => [
  232. ],
  233. // 评价管理
  234. 'orderComment' => [
  235. 'admin/order/comment-list',
  236. ],
  237. 'comment_edit' => [
  238. 'admin/order/comment-reply',
  239. ],
  240. 'comment_delete' => [
  241. 'admin/order/comment-delete',
  242. ],
  243. 'comment_add' => [
  244. 'admin/order/comment-edit',
  245. ],
  246. // DIY
  247. 'diy' => [
  248. 'admin/diy/template-list',
  249. ],
  250. // diy编辑
  251. 'diyTemplateEdit' => [
  252. 'admin/diy/template-del',
  253. 'admin/diy/template-edit',
  254. 'admin/diy/template-save',
  255. 'admin/diy/get-link',
  256. 'admin/diy/page-list',
  257. 'admin/diy/page-save',
  258. 'admin/diy/page-del',
  259. 'admin/diy/up-down',
  260. ],
  261. // 用户管理
  262. 'user_edit' => [
  263. 'admin/user/update-info',
  264. 'admin/recharge/user-recharge',
  265. ],
  266. 'userList' => [
  267. 'admin/user/list',
  268. ],
  269. 'integralRechargeList' => [
  270. 'admin/recharge/list',
  271. ],
  272. 'moneyRechargeList' => [
  273. 'admin/recharge/list',
  274. ],
  275. // 手机端管理员
  276. 'userAdmin' => [
  277. 'admin/user/admin-user',
  278. ],
  279. 'user_admin_edit' => [
  280. 'admin/user/add-admin',
  281. ],
  282. 'user_admin_delete' => [
  283. 'admin/user/del-admin',
  284. ],
  285. // 会员管理
  286. 'memberLevel' => [
  287. 'admin/user/level-list',
  288. ],
  289. 'level_edit' => [
  290. 'admin/user/level-status',
  291. 'admin/user/update-level-info'
  292. ],
  293. 'level_delete' => [
  294. 'admin/user/delete-level',
  295. ],
  296. 'levelOrderList' => [
  297. 'admin/user/level-order',
  298. ],
  299. // 专题管理
  300. 'articleManage' => [
  301. 'admin/content/get-topic-list',
  302. ],
  303. 'project_add' => [
  304. 'admin/content/add-topic',
  305. ],
  306. 'project_edit' => [
  307. 'admin/content/edit-topic',
  308. 'admin/content/edit-topic-show'
  309. ],
  310. 'project_delete' => [
  311. 'admin/content/del-topic',
  312. ],
  313. // 专题分类
  314. 'projectManage' => [
  315. 'admin/content/get-topic-type'
  316. ],
  317. 'project_cat_edit' => [
  318. 'admin/content/edit-topic-type',
  319. 'admin/content/edit-topic-type-show'
  320. ],
  321. 'project_cat_add' => [
  322. 'admin/content/add-topic-type'
  323. ],
  324. 'project_cat_delete' => [
  325. 'admin/content/del-topic-type'
  326. ],
  327. // 文章
  328. 'aboutArticleManage' => [
  329. 'admin/content/get-about-article'
  330. ],
  331. 'article_add' => [
  332. 'admin/content/add-about-article'
  333. ],
  334. 'article_edit' => [
  335. 'admin/content/edit-about-article'
  336. ],
  337. 'article_delete' => [
  338. 'admin/content/del-about-article'
  339. ],
  340. // 视频
  341. 'videoManage' => [
  342. 'admin/content/get-video-list',
  343. ],
  344. 'video_edit' => [
  345. 'admin/content/edit-video',
  346. ],
  347. 'video_add' => [
  348. 'admin/content/add-video',
  349. ],
  350. 'video_delete' => [
  351. 'admin/content/del-video',
  352. ],
  353. // 优惠券管理
  354. 'couponListManage' => [
  355. 'admin/marketing/coupon-list',
  356. ],
  357. 'coupon_edit' => [
  358. 'admin/marketing/coupon-edit',
  359. ],
  360. 'coupon_add' => [
  361. 'admin/marketing/coupon-add',
  362. ],
  363. 'coupon_delete' => [
  364. 'admin/marketing/coupon-del',
  365. ],
  366. 'couponSendManage' => [
  367. 'admin/marketing/coupon-send-user',
  368. ],
  369. // 自动发放
  370. 'couponAutoSendManage' => [
  371. 'admin/marketing/coupon-auto-send-list',
  372. ],
  373. 'auto_send_edit' => [
  374. 'admin/marketing/coupon-auto-send-edit',
  375. ],
  376. 'auto_send_add' => [
  377. 'admin/marketing/coupon-auto-send-add',
  378. ],
  379. 'auto_send_delete' => [
  380. 'admin/marketing/coupon-auto-send-del',
  381. ],
  382. // 核销卡管理
  383. 'verifyListManage' => [
  384. 'admin/marketing/verify-list',
  385. ],
  386. 'verify_card_edit' => [
  387. 'admin/marketing/verify-edit',
  388. ],
  389. 'verify_card_add' => [
  390. 'admin/marketing/verify-add',
  391. ],
  392. 'verify_card_delete' => [
  393. 'admin/marketing/verify-del',
  394. ],
  395. // 核销卡订单
  396. 'verifyOrderManage' => [
  397. 'admin/marketing/verify-sale-list',
  398. ],
  399. // 卡券管理
  400. 'cardCouponManage' => [
  401. 'admin/marketing/card-coupon-list',
  402. ],
  403. 'card_coupon_edit' => [
  404. 'admin/marketing/card-coupon-edit',
  405. ],
  406. 'card_coupon_add' => [
  407. 'admin/marketing/card-coupon-add',
  408. ],
  409. 'card_coupon_delete' => [
  410. 'admin/marketing/card-coupon-del',
  411. ],
  412. // 充值方案
  413. 'rechargePreceptManage' => [
  414. 'admin/marketing/recharge-list',
  415. ],
  416. 'recharge_edit' => [
  417. 'admin/marketing/recharge-edit',
  418. ],
  419. 'recharge_add' => [
  420. 'admin/marketing/recharge-add',
  421. ],
  422. 'recharge_delete' => [
  423. 'admin/marketing/recharge-del',
  424. ],
  425. 'rechargeSetting' => [
  426. 'admin/marketing/recharge-setting',
  427. ],
  428. // 插件
  429. // 自提点
  430. 'shopListManage' => [
  431. 'admin/shop/shop-list',
  432. ],
  433. 'shop_edit' => [
  434. 'admin/shop/shop-edit',
  435. 'admin/shop/shop-audit',
  436. ],
  437. 'shop_add' => [
  438. 'admin/shop/shop-add',
  439. ],
  440. 'shop_delete' => [
  441. 'admin/shop/shop-del',
  442. ],
  443. // 提现
  444. 'shopWithdrawManage' => [
  445. 'admin/shop/shop-cash-list',
  446. ],
  447. 'cash_audit_edit' => [
  448. 'admin/share/apply',
  449. ],
  450. // 核销员
  451. 'verifierManage' => [
  452. 'admin/shop/clerk-list',
  453. ],
  454. 'verifier_edit' => [
  455. 'admin/shop/clerk-edit',
  456. ],
  457. 'verifier_add' => [
  458. 'admin/shop/clerk-add',
  459. ],
  460. 'verifier_delete' => [
  461. 'admin/shop/clerk-del',
  462. ],
  463. // 核销设置
  464. 'verifySettingManage' => [
  465. 'admin/shop/shop-setting-list',
  466. 'admin/shop/shop-setting-edit',
  467. ],
  468. // 分销商列表
  469. 'shareUserList' => [
  470. 'admin/share/list',
  471. ],
  472. 'share_user_edit' => [
  473. 'admin/share/status',
  474. 'admin/share/seller-comments',
  475. 'admin/share/get-qrcode',
  476. ],
  477. 'share_user_delete' => [
  478. 'admin/share/del',
  479. ],
  480. // 基础设置
  481. 'shareBasicSetting' => [
  482. 'admin/share/get-share-setting'
  483. ],
  484. 'share_basic_edit' => [
  485. 'admin/share/basic-setting',
  486. ],
  487. // 佣金设置
  488. 'shareMoneySetting' => [
  489. 'admin/share/get-share-setting'
  490. ],
  491. 'share_money_edit' => [
  492. 'admin/share/money-setting',
  493. ],
  494. // 分销提现
  495. 'shareCash' => [
  496. 'admin/share/cash'
  497. ],
  498. 'share_cash_edit' => [
  499. 'admin/share/apply',
  500. 'admin/share/confirm'
  501. ],
  502. // 分销订单
  503. 'shareOrder' => [
  504. 'admin/share/order',
  505. ],
  506. // 充值分销订单
  507. 'topUpOrder' => [
  508. 'admin/share/top-up-order',
  509. ],
  510. // 推广海报
  511. 'sharePoster' => [
  512. 'admin/share/get-qrcode-setting',
  513. ],
  514. 'share_qrcode_edit' => [
  515. 'admin/share/qrcode',
  516. ],
  517. // 商户列表
  518. 'mchList' => [
  519. 'admin/mch/mch/list'
  520. ],
  521. 'mch_update' => [
  522. 'admin/mch/mch/save',
  523. 'admin/mch/mch/up-down',
  524. 'admin/mch/mch/save-setting'
  525. ],
  526. 'mch_delete' => [
  527. 'admin/mch/mch/del'
  528. ],
  529. // 入驻审核
  530. 'mchApply' => [
  531. 'admin/mch/mch/list'
  532. ],
  533. 'mch_audit_edit' =>[
  534. 'admin/mch/mch/apply',
  535. ],
  536. // 所售类目
  537. 'mchCommonCat' => [
  538. 'admin/mch/common-cat/list'
  539. ],
  540. 'mch_cat_edit' => [
  541. 'admin/mch/common-cat/save'
  542. ],
  543. 'mch_cat_delete' => [
  544. 'admin/mch/common-cat/del'
  545. ],
  546. // 入驻商品
  547. 'mchGoods' => [
  548. 'admin/goods/mch-goods-list'
  549. ],
  550. 'mch_goods_edit' => [
  551. 'admin/goods/status',
  552. ],
  553. // 入驻订单
  554. 'mchOrder' => [
  555. 'admin/mch/order/list',
  556. ],
  557. 'mch_order_edit' => [
  558. 'admin/mch/order/seller-comments',
  559. ],
  560. // 提现申请
  561. 'mchCashList' => [
  562. 'admin/mch/cash/list',
  563. ],
  564. 'mch_cash_edit' => [
  565. 'admin/mch/cash/info',
  566. 'admin/mch/cash/save',
  567. 'admin/mch/cash/cash-submit',
  568. ],
  569. // 小程序直播直播间列表
  570. 'wxLiveRoomList' => [
  571. 'admin/plugins/wxlive/live/index',
  572. 'admin/plugins/wxlive/live/get-media',
  573. ],
  574. // 查看回放
  575. 'replay' => [
  576. 'admin/plugins/wxlive/live/huifang',
  577. ],
  578. // 导入商品
  579. 'importGoods' => [
  580. 'admin/plugins/wxlive/live/goods-add',
  581. ],
  582. // 添加直播间
  583. 'addRoom' => [
  584. 'admin/plugins/wxlive/live/edit',
  585. ],
  586. // 删除直播间
  587. 'deleteRoom' => [
  588. 'admin/plugins/wxlive/live/delete',
  589. ],
  590. // 小程序直播商品列表
  591. 'wxLiveGoodsList' => [
  592. 'admin/plugins/wxlive/goods/index',
  593. 'admin/plugins/wxlive/goods/search-goods',
  594. ],
  595. // 删除商品
  596. 'delGoods' => [
  597. 'admin/plugins/wxlive/goods/delete',
  598. ],
  599. // 添加商品
  600. 'addGoods' => [
  601. 'admin/plugins/wxlive/goods/goods-add',
  602. ],
  603. // 微信配置
  604. 'wechatConfig' => [
  605. 'admin/wechat-config/config',
  606. ],
  607. 'wx_config_edit' => [
  608. 'admin/wechat-config/save',
  609. ],
  610. // 支付宝配置
  611. 'alipayConfig' => [
  612. 'admin/alipay-config/index',
  613. ],
  614. 'alipay_config_edit' => [
  615. 'admin/alipay-config/index',
  616. ],
  617. // 上传配置
  618. 'uploadConfig' => [
  619. 'admin/storage/config',
  620. ],
  621. 'upload_config_edit' => [
  622. 'admin/storage/config',
  623. ],
  624. // 越限配置
  625. 'runOverConfig' => [
  626. 'admin/storage/run-over',
  627. ],
  628. 'run_config_edit' => [
  629. 'admin/storage/run-over',
  630. ],
  631. // 系统更新
  632. 'updateSystem' => [
  633. 'admin/update/index',
  634. 'admin/storage/update',
  635. ],
  636. // 权限管理
  637. // 账号管理
  638. 'accountManage' => [
  639. 'admin/auth/get-admin-list'
  640. ],
  641. 'account_add' => [
  642. 'admin/auth/create-admin'
  643. ],
  644. 'account_edit' => [
  645. 'admin/auth/edit-admin'
  646. ],
  647. 'account_delete' => [
  648. 'admin/auth/delete-admin'
  649. ],
  650. // 角色管理
  651. 'roleManage' => [
  652. 'admin/auth/get-role-list'
  653. ],
  654. 'role_edit' => [
  655. 'admin/auth/edit-role'
  656. ],
  657. 'role_add' => [
  658. 'admin/auth/create-role'
  659. ],
  660. 'role_delete' => [
  661. 'admin/auth/delete-role'
  662. ],
  663. // 操作日志
  664. 'actionLog' => [
  665. 'admin/auth/get-action-log',
  666. 'admin/auth/delete-action-log'
  667. ],
  668. // 小程序发布
  669. 'uploadWechat' => [
  670. 'admin/setting/wechat-upload/login'
  671. ],
  672. // 小程序发布
  673. 'uploadAlipay' => [
  674. 'admin/setting/alipay-upload/login'
  675. ],
  676. ];