site.php 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903
  1. <?php
  2. return [
  3. [
  4. 'menu_name' => '装修管理',
  5. 'menu_key' => 'diy',
  6. 'menu_short_name' => '装修',
  7. 'parent_key' => '',
  8. 'menu_type' => '0',
  9. 'icon' => 'element Brush',
  10. 'api_url' => '',
  11. 'router_path' => '',
  12. 'view_path' => '',
  13. 'methods' => '',
  14. 'sort' => '90',
  15. 'status' => '1',
  16. 'is_show' => '1',
  17. 'children' => [
  18. [
  19. 'menu_name' => '首页装修',
  20. 'menu_key' => 'diy_page_decorate_index',
  21. 'menu_short_name' => '首页装修',
  22. 'menu_type' => '1',
  23. 'icon' => 'nc-iconfont nc-icon-shouyezhuangxiu',
  24. 'api_url' => '',
  25. 'router_path' => 'diy/index',
  26. 'view_path' => 'diy/index',
  27. 'methods' => '',
  28. 'sort' => '100',
  29. 'status' => '1',
  30. 'is_show' => '1',
  31. ],
  32. [
  33. 'menu_name' => '微页面',
  34. 'menu_key' => 'diy_page_list',
  35. 'menu_short_name' => '微页面',
  36. 'menu_type' => '1',
  37. 'icon' => 'nc-iconfont nc-icon-weiyemian',
  38. 'api_url' => 'diy/diy',
  39. 'router_path' => 'diy/list',
  40. 'view_path' => 'diy/list',
  41. 'methods' => 'get',
  42. 'sort' => '90',
  43. 'status' => '1',
  44. 'is_show' => '1',
  45. ],
  46. // [
  47. // 'menu_name' => '底部导航',
  48. // 'menu_key' => 'diy_bottom',
  49. // 'menu_short_name' => '底部导航',
  50. // 'menu_type' => '1',
  51. // 'icon' => 'iconfont icondibudaohang',
  52. // 'api_url' => 'diy/bottom',
  53. // 'router_path' => 'diy/tabbar',
  54. // 'view_path' => 'diy/tabbar',
  55. // 'methods' => 'get',
  56. // 'sort' => '80',
  57. // 'status' => '1',
  58. // 'is_show' => '1',
  59. // 'children' => [
  60. // [
  61. // 'menu_name' => '保存',
  62. // 'menu_key' => 'diy_tabbar_update',
  63. // 'menu_short_name' => '保存',
  64. // 'menu_type' => '2',
  65. // 'icon' => '',
  66. // 'api_url' => 'diy/bottom',
  67. // 'router_path' => '',
  68. // 'view_path' => '',
  69. // 'methods' => 'post',
  70. // 'sort' => '100',
  71. // 'status' => '1',
  72. // 'is_show' => '1',
  73. // ],
  74. // ],
  75. // ],
  76. [
  77. 'menu_name' => '素材管理',
  78. 'menu_key' => 'attachment',
  79. 'menu_short_name' => '素材管理',
  80. 'menu_type' => '1',
  81. 'icon' => 'nc-iconfont nc-icon-sucaiguanli1',
  82. 'api_url' => 'sys/attachment',
  83. 'router_path' => 'diy/attachment',
  84. 'view_path' => 'tools/attachment',
  85. 'methods' => 'get',
  86. 'sort' => '75',
  87. 'status' => '1',
  88. 'is_show' => '1',
  89. ],
  90. ],
  91. ],
  92. [
  93. 'menu_name' => '应用管理',
  94. 'menu_key' => 'shop_addon',
  95. 'menu_short_name' => '应用',
  96. 'parent_key' => '',
  97. 'menu_type' => '0',
  98. 'icon' => 'iconfont iconmanage-apply',
  99. 'api_url' => '',
  100. 'router_path' => '',
  101. 'view_path' => '',
  102. 'methods' => '',
  103. 'sort' => '55',
  104. 'status' => '1',
  105. 'is_show' => '1',
  106. 'children' => [
  107. [
  108. 'menu_name' => '应用列表',
  109. 'menu_key' => 'shop_addon_list',
  110. 'menu_short_name' => '应用列表',
  111. 'menu_type' => '1',
  112. 'icon' => 'nc-iconfont nc-icon-yingyongliebiao',
  113. 'api_url' => 'addon/list',
  114. 'router_path' => 'app/index',
  115. 'view_path' => 'shop/site/app/index',
  116. 'methods' => 'get',
  117. 'sort' => '50',
  118. 'status' => '1',
  119. 'is_show' => '1',
  120. ],
  121. ],
  122. ],
  123. [
  124. 'menu_name' => '权限管理',
  125. 'menu_key' => 'auth',
  126. 'menu_short_name' => '权限',
  127. 'parent_key' => '',
  128. 'menu_type' => '0',
  129. 'icon' => 'element Lock',
  130. 'api_url' => '',
  131. 'router_path' => '',
  132. 'view_path' => '',
  133. 'methods' => '',
  134. 'sort' => '40',
  135. 'status' => '1',
  136. 'is_show' => '1',
  137. 'children' => [
  138. [
  139. 'menu_name' => '管理员',
  140. 'menu_key' => 'auth_user',
  141. 'menu_short_name' => '管理员',
  142. 'menu_type' => '1',
  143. 'icon' => 'nc-iconfont nc-icon-guanliyuan1',
  144. 'api_url' => 'site/user',
  145. 'router_path' => 'auth/user',
  146. 'view_path' => 'auth/user',
  147. 'methods' => 'get',
  148. 'sort' => '100',
  149. 'status' => '1',
  150. 'is_show' => '1',
  151. 'children' => [
  152. [
  153. 'menu_name' => '新增',
  154. 'menu_key' => 'auth_user_add',
  155. 'menu_short_name' => '新增',
  156. 'menu_type' => '2',
  157. 'icon' => '',
  158. 'api_url' => 'site/user',
  159. 'router_path' => '',
  160. 'view_path' => '',
  161. 'methods' => 'post',
  162. 'sort' => '1',
  163. 'status' => '1',
  164. 'is_show' => '1',
  165. ],
  166. [
  167. 'menu_name' => '编辑',
  168. 'menu_key' => 'auth_user_update',
  169. 'menu_short_name' => '编辑',
  170. 'menu_type' => '2',
  171. 'icon' => '',
  172. 'api_url' => 'site/user/<uid>',
  173. 'router_path' => '',
  174. 'view_path' => 'put',
  175. 'methods' => '',
  176. 'sort' => '1',
  177. 'status' => '1',
  178. 'is_show' => '1',
  179. ],
  180. [
  181. 'menu_name' => '删除',
  182. 'menu_key' => 'auth_user_del',
  183. 'menu_short_name' => '删除',
  184. 'menu_type' => '2',
  185. 'icon' => '',
  186. 'api_url' => 'site/user/<uid>',
  187. 'router_path' => '',
  188. 'view_path' => '',
  189. 'methods' => 'delete',
  190. 'sort' => '1',
  191. 'status' => '1',
  192. 'is_show' => '1',
  193. ],
  194. [
  195. 'menu_name' => '详情',
  196. 'menu_key' => 'auth_user_info',
  197. 'menu_short_name' => '详情',
  198. 'menu_type' => '2',
  199. 'icon' => '',
  200. 'api_url' => 'sys/user/<uid>',
  201. 'router_path' => '',
  202. 'view_path' => '',
  203. 'methods' => 'get',
  204. 'sort' => '0',
  205. 'status' => '1',
  206. 'is_show' => '1',
  207. ],
  208. ],
  209. ],
  210. [
  211. 'menu_name' => '角色管理',
  212. 'menu_key' => 'auth_role',
  213. 'menu_short_name' => '角色管理',
  214. 'menu_type' => '1',
  215. 'icon' => 'nc-iconfont nc-icon-jiaoseguanli',
  216. 'api_url' => 'sys/role',
  217. 'router_path' => 'auth/role',
  218. 'view_path' => 'auth/role',
  219. 'methods' => 'get',
  220. 'sort' => '90',
  221. 'status' => '1',
  222. 'is_show' => '1',
  223. 'children' => [
  224. [
  225. 'menu_name' => '新增',
  226. 'menu_key' => 'auth_role_add',
  227. 'menu_short_name' => '新增',
  228. 'menu_type' => '2',
  229. 'icon' => '',
  230. 'api_url' => 'sys/role',
  231. 'router_path' => '',
  232. 'view_path' => '',
  233. 'methods' => 'post',
  234. 'sort' => '1',
  235. 'status' => '1',
  236. 'is_show' => '1',
  237. ],
  238. [
  239. 'menu_name' => '编辑',
  240. 'menu_key' => 'auth_role_update',
  241. 'menu_short_name' => '编辑',
  242. 'menu_type' => '2',
  243. 'icon' => '',
  244. 'api_url' => 'sys/role/<role_id>',
  245. 'router_path' => '',
  246. 'view_path' => '',
  247. 'methods' => 'put',
  248. 'sort' => '1',
  249. 'status' => '1',
  250. 'is_show' => '1',
  251. ],
  252. [
  253. 'menu_name' => '删除',
  254. 'menu_key' => 'auth_role_del',
  255. 'menu_short_name' => '删除',
  256. 'menu_type' => '2',
  257. 'icon' => '',
  258. 'api_url' => 'sys/role/<role_id>',
  259. 'router_path' => '',
  260. 'view_path' => '',
  261. 'methods' => 'delete',
  262. 'sort' => '1',
  263. 'status' => '1',
  264. 'is_show' => '1',
  265. ],
  266. ],
  267. ],
  268. [
  269. 'menu_name' => '操作日志',
  270. 'menu_key' => 'auth_log',
  271. 'menu_short_name' => '操作日志',
  272. 'menu_type' => '1',
  273. 'icon' => 'nc-iconfont nc-icon-caozuorizhi1',
  274. 'api_url' => 'sys/log',
  275. 'router_path' => 'auth/log',
  276. 'view_path' => 'auth/log',
  277. 'methods' => 'get',
  278. 'sort' => '80',
  279. 'status' => '1',
  280. 'is_show' => '1',
  281. ],
  282. ],
  283. ],
  284. [
  285. 'menu_name' => '系统设置',
  286. 'menu_key' => 'shop_setting',
  287. 'menu_short_name' => '设置',
  288. 'parent_key' => '',
  289. 'menu_type' => '0',
  290. 'icon' => 'element Setting',
  291. 'api_url' => '',
  292. 'router_path' => '',
  293. 'view_path' => '',
  294. 'methods' => '',
  295. 'sort' => '30',
  296. 'status' => '1',
  297. 'is_show' => '1',
  298. 'children' => [
  299. [
  300. 'menu_name' => '店铺设置',
  301. 'menu_key' => 'shop_setting_index',
  302. 'menu_short_name' => '店铺设置',
  303. 'menu_type' => '1',
  304. 'icon' => 'nc-iconfont nc-icon-dianpushezhi',
  305. 'api_url' => 'auth/site',
  306. 'router_path' => 'shop/setting',
  307. 'view_path' => 'shop/site/setting/index',
  308. 'methods' => 'get',
  309. 'sort' => '90',
  310. 'status' => '1',
  311. 'is_show' => '1',
  312. 'children' => [
  313. [
  314. 'menu_name' => '修改店铺基本信息',
  315. 'menu_key' => 'setting_system_basic_info',
  316. 'menu_short_name' => '修改店铺基本信息',
  317. 'menu_type' => '2',
  318. 'icon' => '',
  319. 'api_url' => 'shop/site/setting/set',
  320. 'router_path' => '',
  321. 'view_path' => '',
  322. 'methods' => 'put',
  323. 'sort' => '97',
  324. 'status' => '1',
  325. 'is_show' => '0',
  326. ],
  327. ]
  328. ],
  329. ]
  330. ],
  331. [
  332. 'menu_name' => '数据导出',
  333. 'menu_key' => 'shop_setting_export',
  334. 'menu_short_name' => '数据导出',
  335. 'menu_type' => '0',
  336. 'icon' => 'element Files',
  337. 'api_url' => '',
  338. 'router_path' => '',
  339. 'view_path' => '',
  340. 'methods' => '',
  341. 'sort' => '0',
  342. 'status' => '1',
  343. 'is_show' => '1',
  344. 'menu_attr' => 'shop_setting_export',
  345. 'children' => [
  346. [
  347. 'menu_name' => '数据导出列表',
  348. 'menu_key' => 'setting_export_list',
  349. 'menu_short_name' => '数据导出列表',
  350. 'menu_type' => '1',
  351. 'icon' => 'element FolderChecked',
  352. 'api_url' => 'sys/export',
  353. 'router_path' => 'shop/setting/export',
  354. 'view_path' => 'shop/site/setting/export',
  355. 'methods' => 'get',
  356. 'sort' => '98',
  357. 'status' => '1',
  358. 'is_show' => '1',
  359. 'menu_attr' => 'shop_setting_export',
  360. 'children' => [
  361. [
  362. 'menu_name' => '删除报表',
  363. 'menu_key' => 'delete_export',
  364. 'menu_short_name' => '删除报表',
  365. 'menu_type' => '2',
  366. 'icon' => '',
  367. 'api_url' => 'sys/export/<id>',
  368. 'router_path' => '',
  369. 'view_path' => '',
  370. 'methods' => 'delete',
  371. 'sort' => '100',
  372. 'status' => '1',
  373. 'is_show' => '1',
  374. 'menu_attr' => 'shop_setting_export',
  375. ]
  376. ]
  377. ],
  378. ]
  379. ],
  380. [
  381. 'menu_name' => '打印管理',
  382. 'menu_key' => 'printer_management',
  383. 'menu_short_name' => '打印管理',
  384. 'menu_type' => '0',
  385. 'icon' => 'element Files',
  386. 'api_url' => '',
  387. 'router_path' => '',
  388. 'view_path' => '',
  389. 'methods' => '',
  390. 'sort' => '0',
  391. 'status' => '1',
  392. 'is_show' => '1',
  393. 'menu_attr' => 'printer_management',
  394. 'children' => [
  395. [
  396. 'menu_name' => '小票打印',
  397. 'menu_key' => 'printer_management_list',
  398. 'menu_short_name' => '小票打印',
  399. 'menu_type' => '1',
  400. 'icon' => 'element FolderChecked',
  401. 'api_url' => 'printer',
  402. 'router_path' => 'printer/list',
  403. 'view_path' => 'printer/list',
  404. 'methods' => 'get',
  405. 'sort' => '30',
  406. 'status' => '1',
  407. 'is_show' => '1',
  408. 'menu_attr' => 'printer_management',
  409. 'children' => [
  410. [
  411. 'menu_name' => '删除打印机',
  412. 'menu_key' => 'delete_printer',
  413. 'menu_short_name' => '删除打印机',
  414. 'menu_type' => '2',
  415. 'icon' => '',
  416. 'api_url' => 'printer/<id>',
  417. 'router_path' => '',
  418. 'view_path' => '',
  419. 'methods' => 'delete',
  420. 'sort' => '100',
  421. 'status' => '1',
  422. 'is_show' => '1',
  423. ]
  424. ]
  425. ],
  426. [
  427. 'menu_name' => '添加打印机',
  428. 'menu_key' => 'printer_add',
  429. 'menu_short_name' => '添加打印机',
  430. 'menu_type' => '1',
  431. 'icon' => '',
  432. 'api_url' => 'printer',
  433. 'router_path' => 'printer/add',
  434. 'view_path' => 'printer/edit',
  435. 'methods' => 'post',
  436. 'sort' => '0',
  437. 'status' => '1',
  438. 'is_show' => '0',
  439. ],
  440. [
  441. 'menu_name' => '编辑打印机',
  442. 'menu_key' => 'printer_edit',
  443. 'menu_short_name' => '添加打印机',
  444. 'menu_type' => '1',
  445. 'icon' => '',
  446. 'api_url' => 'printer/<id>',
  447. 'router_path' => 'printer/edit',
  448. 'view_path' => 'printer/edit',
  449. 'methods' => 'put',
  450. 'sort' => '0',
  451. 'status' => '1',
  452. 'is_show' => '0',
  453. ],
  454. [
  455. 'menu_name' => '小票打印模板',
  456. 'menu_key' => 'printer_template_management',
  457. 'menu_short_name' => '小票打印模板',
  458. 'menu_type' => '1',
  459. 'icon' => 'element FolderChecked',
  460. 'api_url' => 'printer/template',
  461. 'router_path' => 'printer/template/list',
  462. 'view_path' => 'printer/template_list',
  463. 'methods' => 'get',
  464. 'sort' => '96',
  465. 'status' => '1',
  466. 'is_show' => '0',
  467. 'children' => [
  468. [
  469. 'menu_name' => '删除打印模板',
  470. 'menu_key' => 'delete_printer_template',
  471. 'menu_short_name' => '删除打印模板',
  472. 'menu_type' => '2',
  473. 'icon' => '',
  474. 'api_url' => 'printer/template/<id>',
  475. 'router_path' => '',
  476. 'view_path' => '',
  477. 'methods' => 'delete',
  478. 'sort' => '100',
  479. 'status' => '1',
  480. 'is_show' => '1',
  481. ]
  482. ]
  483. ],
  484. [
  485. 'menu_name' => '添加打印模板',
  486. 'menu_key' => 'printer_template_add',
  487. 'menu_short_name' => '添加打印模板',
  488. 'menu_type' => '1',
  489. 'icon' => '',
  490. 'api_url' => 'printer/template',
  491. 'router_path' => 'printer/template/add',
  492. 'view_path' => 'printer/template_edit',
  493. 'methods' => 'post',
  494. 'sort' => '0',
  495. 'status' => '1',
  496. 'is_show' => '0',
  497. ],
  498. [
  499. 'menu_name' => '编辑打印模板',
  500. 'menu_key' => 'printer_template_edit',
  501. 'menu_short_name' => '编辑打印模板',
  502. 'menu_type' => '1',
  503. 'icon' => '',
  504. 'api_url' => 'printer/template/<id>',
  505. 'router_path' => 'printer/template/edit',
  506. 'view_path' => 'printer/template_edit',
  507. 'methods' => 'put',
  508. 'sort' => '0',
  509. 'status' => '1',
  510. 'is_show' => '0',
  511. ],
  512. ]
  513. ],
  514. [
  515. 'menu_name' => '页面装修',
  516. 'menu_key' => 'decorate',
  517. 'menu_short_name' => '页面装修',
  518. 'parent_key' => '',
  519. 'menu_type' => '0',
  520. 'icon' => '',
  521. 'api_url' => '',
  522. 'router_path' => '',
  523. 'view_path' => '',
  524. 'methods' => '',
  525. 'sort' => '21',
  526. 'status' => '1',
  527. 'is_show' => '0',
  528. 'children' => [
  529. [
  530. 'menu_name' => '装修',
  531. 'menu_key' => 'page_decorate',
  532. 'menu_short_name' => '装修',
  533. 'menu_type' => '1',
  534. 'icon' => '',
  535. 'api_url' => 'diy/diy/<id>',
  536. 'router_path' => 'decorate/edit',
  537. 'view_path' => 'diy/edit',
  538. 'methods' => 'put',
  539. 'sort' => '0',
  540. 'status' => '1',
  541. 'is_show' => '0',
  542. ],
  543. ],
  544. ],
  545. [
  546. 'menu_name' => '页面预览',
  547. 'menu_key' => 'preview',
  548. 'menu_short_name' => '页面预览',
  549. 'parent_key' => '',
  550. 'menu_type' => '0',
  551. 'icon' => '',
  552. 'api_url' => '',
  553. 'router_path' => '',
  554. 'view_path' => '',
  555. 'methods' => 'get',
  556. 'sort' => '0',
  557. 'status' => '1',
  558. 'is_show' => '0',
  559. 'children' => [
  560. [
  561. 'menu_name' => '页面预览',
  562. 'menu_key' => 'page_wap_preview',
  563. 'menu_short_name' => '页面预览',
  564. 'menu_type' => '1',
  565. 'icon' => '',
  566. 'api_url' => '',
  567. 'router_path' => 'preview/wap',
  568. 'view_path' => 'index/preview',
  569. 'methods' => 'get',
  570. 'sort' => '0',
  571. 'status' => '1',
  572. 'is_show' => '0',
  573. ],
  574. ],
  575. ],
  576. [
  577. 'menu_name' => '资产管理',
  578. 'menu_key' => 'shop_site_account',
  579. 'menu_short_name' => '资产',
  580. 'menu_type' => '0',
  581. 'icon' => 'element Box',
  582. 'api_url' => 'shop/site/index',
  583. 'router_path' => 'account',
  584. 'view_path' => 'shop/site/account',
  585. 'methods' => '',
  586. 'sort' => '50',
  587. 'status' => '1',
  588. 'is_show' => '1',
  589. 'children' => [
  590. [
  591. 'menu_name' => '资产概况',
  592. 'menu_key' => 'account_index',
  593. 'menu_short_name' => '概况',
  594. 'menu_type' => '1',
  595. 'icon' => 'nc-iconfont nc-icon-zichangaikuang',
  596. 'api_url' => '',
  597. 'router_path' => 'account/index',
  598. 'view_path' => 'shop/site/account/index',
  599. 'methods' => 'get',
  600. 'sort' => '100',
  601. 'status' => '1',
  602. 'is_show' => '1',
  603. 'children' => [
  604. [
  605. 'menu_name' => '申请提现',
  606. 'menu_key' => 'shop_cash_out_apply',
  607. 'menu_short_name' => '申请提现',
  608. 'menu_type' => '2',
  609. 'icon' => '',
  610. 'api_url' => 'shop/site/shop/cash_apply',
  611. 'router_path' => '',
  612. 'view_path' => '',
  613. 'methods' => 'post',
  614. 'sort' => '97',
  615. 'status' => '1',
  616. 'is_show' => '1',
  617. ],
  618. [
  619. 'menu_name' => '取消申请提现',
  620. 'menu_key' => 'shop_cash_out_cancel',
  621. 'menu_short_name' => '取消申请提现',
  622. 'menu_type' => '2',
  623. 'icon' => '',
  624. 'api_url' => 'shop/site/shop/cash_cancel/<id>',
  625. 'router_path' => '',
  626. 'view_path' => '',
  627. 'methods' => 'put',
  628. 'sort' => '97',
  629. 'status' => '1',
  630. 'is_show' => '1',
  631. ],
  632. ]
  633. ],
  634. [
  635. 'menu_name' => '提现记录',
  636. 'menu_key' => 'account_cash_out',
  637. 'menu_short_name' => '概况',
  638. 'menu_type' => '1',
  639. 'icon' => 'nc-iconfont nc-icon-tixianjilu',
  640. 'api_url' => '',
  641. 'router_path' => 'account/cash_out',
  642. 'view_path' => 'shop/site/account/cash_out',
  643. 'methods' => '',
  644. 'sort' => '90',
  645. 'status' => '1',
  646. 'is_show' => '1',
  647. ],
  648. [
  649. 'menu_name' => '结算账户',
  650. 'menu_key' => 'account_transfer_type',
  651. 'menu_short_name' => '结算账户',
  652. 'menu_type' => '1',
  653. 'icon' => 'nc-iconfont nc-icon-jiesuanzhanghu',
  654. 'api_url' => '',
  655. 'router_path' => 'account/transfer_type',
  656. 'view_path' => 'shop/site/account/transfer_type',
  657. 'methods' => '',
  658. 'sort' => '80',
  659. 'status' => '1',
  660. 'is_show' => '1',
  661. 'children' => [
  662. [
  663. 'menu_name' => '结算账户编辑',
  664. 'menu_key' => 'account_transfer_type_edit',
  665. 'menu_short_name' => '结算账户编辑',
  666. 'menu_type' => '2',
  667. 'icon' => '',
  668. 'api_url' => 'shop/site/shop/account/set',
  669. 'router_path' => '',
  670. 'view_path' => '',
  671. 'methods' => 'put',
  672. 'sort' => '97',
  673. 'status' => '1',
  674. 'is_show' => '1',
  675. ],
  676. ]
  677. ],
  678. ]
  679. ],
  680. [
  681. 'menu_name' => '会员管理',
  682. 'menu_key' => 'shop_member',
  683. 'menu_short_name' => '会员',
  684. 'parent_key' => '',
  685. 'menu_type' => '0',
  686. 'icon' => 'iconfont iconjiaoseyonghu',
  687. 'api_url' => '',
  688. 'router_path' => 'shop/member',
  689. 'view_path' => '',
  690. 'methods' => 'get',
  691. 'sort' => '80',
  692. 'status' => '1',
  693. 'is_show' => '1',
  694. 'children' => [
  695. [
  696. 'menu_name' => '会员列表',
  697. 'menu_key' => 'shop_member_list',
  698. 'menu_short_name' => '会员列表',
  699. 'menu_type' => '1',
  700. 'icon' => 'nc-iconfont nc-icon-huiyuanliebiao',
  701. 'api_url' => 'shop/site/member/list',
  702. 'router_path' => 'shop/member/list',
  703. 'view_path' => 'shop/site/member/list',
  704. 'methods' => 'get',
  705. 'sort' => '100',
  706. 'status' => '1',
  707. 'is_show' => '1',
  708. 'children' => [
  709. [
  710. 'menu_name' => '会员信息修改',
  711. 'menu_key' => 'shop_member_edit',
  712. 'menu_short_name' => '会员信息修改',
  713. 'menu_type' => '2',
  714. 'icon' => '',
  715. 'api_url' => 'shop/site/member/modify/<member_id>/<field>',
  716. 'router_path' => '',
  717. 'view_path' => '',
  718. 'methods' => 'put',
  719. 'sort' => '97',
  720. 'status' => '1',
  721. 'is_show' => '1',
  722. ]
  723. ]
  724. ],
  725. [
  726. 'menu_name' => '会员详情',
  727. 'menu_key' => 'shop_member_detail',
  728. 'menu_short_name' => '会员详情',
  729. 'menu_type' => '1',
  730. 'icon' => 'iconfont Basketball',
  731. 'api_url' => 'shop/site/member/detail',
  732. 'router_path' => 'shop/member/detail',
  733. 'view_path' => 'shop/site/member/detail',
  734. 'methods' => 'get',
  735. 'sort' => '90',
  736. 'status' => '1',
  737. 'is_show' => '0',
  738. ],
  739. [
  740. 'menu_name' => '会员标签',
  741. 'menu_key' => 'shop_member_label',
  742. 'menu_short_name' => '会员标签',
  743. 'menu_type' => '1',
  744. 'icon' => 'nc-iconfont nc-icon-huiyuanbiaoqian',
  745. 'api_url' => 'shop/site/member/label',
  746. 'router_path' => 'shop/member/label',
  747. 'view_path' => 'shop/site/member/label',
  748. 'methods' => 'get',
  749. 'sort' => '90',
  750. 'status' => '1',
  751. 'is_show' => '1',
  752. 'children' => [
  753. [
  754. 'menu_name' => '添加会员标签',
  755. 'menu_key' => 'shop_member_label_add',
  756. 'menu_short_name' => '添加会员标签',
  757. 'menu_type' => '2',
  758. 'icon' => '',
  759. 'api_url' => 'shop/site/member/label',
  760. 'router_path' => '',
  761. 'view_path' => '',
  762. 'methods' => 'post',
  763. 'sort' => '97',
  764. 'status' => '1',
  765. 'is_show' => '1',
  766. ],
  767. [
  768. 'menu_name' => '编辑会员标签',
  769. 'menu_key' => 'shop_member_label_edit',
  770. 'menu_short_name' => '编辑会员标签',
  771. 'menu_type' => '2',
  772. 'icon' => '',
  773. 'api_url' => 'shop/site/member/label/<id>',
  774. 'router_path' => '',
  775. 'view_path' => '',
  776. 'methods' => 'put',
  777. 'sort' => '97',
  778. 'status' => '1',
  779. 'is_show' => '1',
  780. ],
  781. [
  782. 'menu_name' => '删除会员标签',
  783. 'menu_key' => 'shop_member_label_delete',
  784. 'menu_short_name' => '删除会员标签',
  785. 'menu_type' => '2',
  786. 'icon' => '',
  787. 'api_url' => 'shop/site/member/label/<id>',
  788. 'router_path' => '',
  789. 'view_path' => '',
  790. 'methods' => 'delete',
  791. 'sort' => '97',
  792. 'status' => '1',
  793. 'is_show' => '1',
  794. ]
  795. ]
  796. ],
  797. ]
  798. ],
  799. [
  800. 'menu_name' => '店铺营销',
  801. 'menu_key' => 'mall_goods_marketing',
  802. 'menu_short_name' => '营销',
  803. 'menu_type' => '0',
  804. 'icon' => 'iconfont iconyingxiao',
  805. 'api_url' => '',
  806. 'router_path' => '',
  807. 'view_path' => '',
  808. 'methods' => 'get',
  809. 'sort' => '70',
  810. 'status' => '1',
  811. 'is_show' => '1',
  812. 'children' => [
  813. [
  814. 'menu_name' => '核销管理',
  815. 'menu_key' => 'verify',
  816. 'menu_short_name' => '核销管理',
  817. 'menu_type' => '1',
  818. 'icon' => 'nc-iconfont nc-icon-hexiaoguanli',
  819. 'api_url' => '',
  820. 'router_path' => '',
  821. 'view_path' => '',
  822. 'methods' => 'get',
  823. 'sort' => '48',
  824. 'status' => '1',
  825. 'is_show' => '1',
  826. 'children' => [
  827. [
  828. 'menu_name' => '核销员',
  829. 'menu_key' => 'verifier_list',
  830. 'menu_short_name' => '核销员',
  831. 'menu_type' => '1',
  832. 'icon' => 'nc-iconfont nc-icon-hexiaoyuan',
  833. 'api_url' => 'verify/verifier',
  834. 'router_path' => 'marketing/verifier',
  835. 'view_path' => 'shop/site/marketing/verifier',
  836. 'methods' => 'get',
  837. 'sort' => '48',
  838. 'status' => '1',
  839. 'is_show' => '1',
  840. 'children' => [
  841. [
  842. 'menu_name' => '添加核销员',
  843. 'menu_key' => 'add_verifier',
  844. 'menu_short_name' => '添加核销员',
  845. 'menu_type' => '2',
  846. 'icon' => '',
  847. 'api_url' => 'verify/verifier',
  848. 'router_path' => '',
  849. 'view_path' => '',
  850. 'methods' => 'post',
  851. 'sort' => '100',
  852. 'status' => '1',
  853. 'is_show' => '1',
  854. ],
  855. [
  856. 'menu_name' => '删除核销员',
  857. 'menu_key' => 'delete_verifier',
  858. 'menu_short_name' => '删除核销员',
  859. 'menu_type' => '2',
  860. 'icon' => '',
  861. 'api_url' => 'verify/verifier/<id>',
  862. 'router_path' => '',
  863. 'view_path' => '',
  864. 'methods' => 'delete',
  865. 'sort' => '100',
  866. 'status' => '1',
  867. 'is_show' => '1',
  868. ]
  869. ]
  870. ],
  871. [
  872. 'menu_name' => '核销记录',
  873. 'menu_key' => 'verify_list',
  874. 'menu_short_name' => '核销记录',
  875. 'menu_type' => '1',
  876. 'icon' => 'nc-iconfont nc-icon-hexiaojilu',
  877. 'api_url' => 'verify/verify/record',
  878. 'router_path' => 'marketing/verify',
  879. 'view_path' => 'shop/site/marketing/verify',
  880. 'methods' => 'get',
  881. 'sort' => '48',
  882. 'status' => '1',
  883. 'is_show' => '1',
  884. ],
  885. [
  886. 'menu_name' => '核销详情',
  887. 'menu_key' => 'verify_detail',
  888. 'menu_short_name' => '核销详情',
  889. 'menu_type' => '1',
  890. 'icon' => '',
  891. 'api_url' => 'verify/verify/<verify_code>',
  892. 'router_path' => 'marketing/verify/detail',
  893. 'view_path' => 'shop/site/marketing/verify_detail',
  894. 'methods' => 'get',
  895. 'sort' => '48',
  896. 'status' => '1',
  897. 'is_show' => '0',
  898. ]
  899. ],
  900. ],
  901. ],
  902. ]
  903. ];