admin.php 164 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915
  1. <?php
  2. return [
  3. [
  4. 'menu_name' => '首页',
  5. 'menu_key' => 'overview',
  6. 'menu_short_name' => '首页',
  7. 'parent_key' => '',
  8. 'menu_type' => '1',
  9. 'icon' => 'element Monitor',
  10. 'api_url' => '',
  11. 'router_path' => 'index',
  12. 'view_path' => 'index/index',
  13. 'methods' => '',
  14. 'sort' => '100',
  15. 'status' => '1',
  16. 'is_show' => '1',
  17. ],
  18. [
  19. 'menu_name' => '会员管理',
  20. 'menu_key' => 'member',
  21. 'menu_short_name' => '会员',
  22. 'parent_key' => '',
  23. 'menu_type' => '0',
  24. 'icon' => 'iconfont iconjiaoseyonghu',
  25. 'api_url' => '',
  26. 'router_path' => '',
  27. 'view_path' => '',
  28. 'methods' => '',
  29. 'sort' => '70',
  30. 'status' => '1',
  31. 'is_show' => '1',
  32. 'children' => [
  33. [
  34. 'menu_name' => '会员列表',
  35. 'menu_key' => 'member_list',
  36. 'menu_short_name' => '会员列表',
  37. 'menu_type' => '1',
  38. 'icon' => 'iconfont iconhuiyuanliebiao',
  39. 'api_url' => 'member/member',
  40. 'router_path' => 'member/member',
  41. 'view_path' => 'member/member',
  42. 'methods' => 'get',
  43. 'sort' => '100',
  44. 'status' => '1',
  45. 'is_show' => '1',
  46. 'children' => [
  47. [
  48. 'menu_name' => '添加会员',
  49. 'menu_key' => 'member_add',
  50. 'menu_short_name' => '添加会员',
  51. 'menu_type' => '2',
  52. 'icon' => '',
  53. 'api_url' => 'member/member',
  54. 'router_path' => '',
  55. 'view_path' => '',
  56. 'methods' => 'post',
  57. 'sort' => '0',
  58. 'status' => '1',
  59. 'is_show' => '1',
  60. ],
  61. [
  62. 'menu_name' => '编辑会员',
  63. 'menu_key' => 'member_update',
  64. 'menu_short_name' => '编辑会员',
  65. 'menu_type' => '2',
  66. 'icon' => '',
  67. 'api_url' => 'member/member/modify/<member_id>/<field>',
  68. 'router_path' => '',
  69. 'view_path' => '',
  70. 'methods' => 'put',
  71. 'sort' => '0',
  72. 'status' => '1',
  73. 'is_show' => '1',
  74. ],
  75. [
  76. 'menu_name' => '删除会员',
  77. 'menu_key' => 'member_delete',
  78. 'menu_short_name' => '删除会员',
  79. 'menu_type' => '2',
  80. 'icon' => '',
  81. 'api_url' => 'member/member/<member_id>',
  82. 'router_path' => '',
  83. 'view_path' => '',
  84. 'methods' => 'delete',
  85. 'sort' => '0',
  86. 'status' => '1',
  87. 'is_show' => '1',
  88. ],
  89. [
  90. 'menu_name' => '修改会员状态',
  91. 'menu_key' => 'member_status_edit',
  92. 'menu_short_name' => '修改会员状态',
  93. 'menu_type' => '2',
  94. 'icon' => '',
  95. 'api_url' => 'member/setstatus/<status>',
  96. 'router_path' => '',
  97. 'view_path' => '',
  98. 'methods' => 'put',
  99. 'sort' => '0',
  100. 'status' => '1',
  101. 'is_show' => '1',
  102. ],
  103. ],
  104. ],
  105. [
  106. 'menu_name' => '会员详情',
  107. 'menu_key' => 'member_info',
  108. 'menu_short_name' => '会员详情',
  109. 'menu_type' => '1',
  110. 'icon' => '',
  111. 'api_url' => 'member/member/<id>',
  112. 'router_path' => 'member/detail',
  113. 'view_path' => 'member/member_detail',
  114. 'methods' => 'get',
  115. 'sort' => '90',
  116. 'status' => '1',
  117. 'is_show' => '0',
  118. ],
  119. [
  120. 'menu_name' => '会员等级',
  121. 'menu_key' => 'member_level',
  122. 'menu_short_name' => '会员等级',
  123. 'menu_type' => '0',
  124. 'icon' => 'iconfont iconhuiyuandengjipc',
  125. 'api_url' => '',
  126. 'router_path' => '',
  127. 'view_path' => '',
  128. 'methods' => '',
  129. 'sort' => '90',
  130. 'status' => '1',
  131. 'is_show' => '1',
  132. 'children' => [
  133. [
  134. 'menu_name' => '等级列表',
  135. 'menu_key' => 'member_level_list',
  136. 'menu_short_name' => '会员等级',
  137. 'menu_type' => '1',
  138. 'icon' => 'iconfont iconwenzhangliebiao1',
  139. 'api_url' => 'member/level',
  140. 'router_path' => 'member/level',
  141. 'view_path' => 'member/level',
  142. 'methods' => 'get',
  143. 'sort' => '50',
  144. 'status' => '1',
  145. 'is_show' => '1',
  146. 'children' => [
  147. [
  148. 'menu_name' => '添加等级',
  149. 'menu_key' => 'member_level_add',
  150. 'menu_short_name' => '添加等级',
  151. 'menu_type' => '2',
  152. 'icon' => '',
  153. 'api_url' => 'member/level',
  154. 'router_path' => '',
  155. 'view_path' => '',
  156. 'methods' => 'post',
  157. 'sort' => '0',
  158. 'status' => '1',
  159. 'is_show' => '1',
  160. ],
  161. [
  162. 'menu_name' => '编辑等级',
  163. 'menu_key' => 'member_level_edit',
  164. 'menu_short_name' => '编辑等级',
  165. 'menu_type' => '2',
  166. 'icon' => '',
  167. 'api_url' => 'member/level/<id>',
  168. 'router_path' => '',
  169. 'view_path' => '',
  170. 'methods' => 'put',
  171. 'sort' => '0',
  172. 'status' => '1',
  173. 'is_show' => '1',
  174. ],
  175. [
  176. 'menu_name' => '删除等级',
  177. 'menu_key' => 'member_level_delete',
  178. 'menu_short_name' => '删除等级',
  179. 'menu_type' => '2',
  180. 'icon' => '',
  181. 'api_url' => 'member/level/<id>',
  182. 'router_path' => '',
  183. 'view_path' => '',
  184. 'methods' => 'delete',
  185. 'sort' => '0',
  186. 'status' => '1',
  187. 'is_show' => '1',
  188. ],
  189. ],
  190. ],
  191. [
  192. 'menu_name' => '添加/编辑等级',
  193. 'menu_key' => 'member_level_edit_page',
  194. 'menu_short_name' => '添加/编辑等级',
  195. 'menu_type' => '1',
  196. 'icon' => '',
  197. 'api_url' => '',
  198. 'router_path' => 'member/level_edit',
  199. 'view_path' => 'member/level_edit',
  200. 'methods' => '',
  201. 'sort' => '49',
  202. 'status' => '1',
  203. 'is_show' => '0',
  204. 'children' => [
  205. [
  206. 'menu_name' => '会员等级信息',
  207. 'menu_key' => 'member_level_info',
  208. 'menu_short_name' => '会员等级信息',
  209. 'menu_type' => '2',
  210. 'icon' => '',
  211. 'api_url' => 'member/level/<id>',
  212. 'router_path' => '',
  213. 'view_path' => '',
  214. 'methods' => 'get',
  215. 'sort' => '100',
  216. 'status' => '1',
  217. 'is_show' => '1',
  218. ]
  219. ]
  220. ],
  221. [
  222. 'menu_name' => '成长值规则',
  223. 'menu_key' => 'growth_rule',
  224. 'menu_short_name' => '成长值规则',
  225. 'menu_type' => '1',
  226. 'icon' => '',
  227. 'api_url' => 'member/config/growth_rule',
  228. 'router_path' => 'setting/growth_rule',
  229. 'view_path' => 'setting/growth_rule',
  230. 'methods' => 'get',
  231. 'sort' => '49',
  232. 'status' => '1',
  233. 'is_show' => '1',
  234. 'children' => [
  235. [
  236. 'menu_name' => '设置成长值规则',
  237. 'menu_key' => 'set_growth_rule',
  238. 'menu_short_name' => '设置成长值规则',
  239. 'menu_type' => '2',
  240. 'icon' => '',
  241. 'api_url' => 'member/config/growth_rule',
  242. 'router_path' => '',
  243. 'view_path' => '',
  244. 'methods' => 'post',
  245. 'sort' => '100',
  246. 'status' => '1',
  247. 'is_show' => '1',
  248. ]
  249. ]
  250. ],
  251. [
  252. 'menu_name' => '会员成长值',
  253. 'menu_key' => 'member_growth',
  254. 'menu_short_name' => '会员成长值',
  255. 'menu_type' => '1',
  256. 'icon' => 'iconfont iconjifen-xianxing',
  257. 'api_url' => 'member/account/growth',
  258. 'router_path' => 'member/growth',
  259. 'view_path' => 'member/growth',
  260. 'methods' => 'get',
  261. 'sort' => '49',
  262. 'status' => '1',
  263. 'is_show' => '0',
  264. ],
  265. ]
  266. ],
  267. [
  268. 'menu_name' => '会员标签',
  269. 'menu_key' => 'member_label',
  270. 'menu_short_name' => '会员标签',
  271. 'menu_type' => '1',
  272. 'icon' => 'element CollectionTag',
  273. 'api_url' => 'member/label',
  274. 'router_path' => 'member/label',
  275. 'view_path' => 'member/label',
  276. 'methods' => 'get',
  277. 'sort' => '80',
  278. 'status' => '1',
  279. 'is_show' => '1',
  280. 'children' => [
  281. [
  282. 'menu_name' => '编辑标签',
  283. 'menu_key' => 'member_label_update',
  284. 'menu_short_name' => '编辑标签',
  285. 'menu_type' => '2',
  286. 'icon' => '',
  287. 'api_url' => 'member/label/<id>',
  288. 'router_path' => '',
  289. 'view_path' => '',
  290. 'methods' => 'put',
  291. 'sort' => '0',
  292. 'status' => '1',
  293. 'is_show' => '1',
  294. ],
  295. [
  296. 'menu_name' => '添加标签',
  297. 'menu_key' => 'member_label_add',
  298. 'menu_short_name' => '添加标签',
  299. 'menu_type' => '2',
  300. 'icon' => '',
  301. 'api_url' => 'member/label',
  302. 'router_path' => '',
  303. 'view_path' => '',
  304. 'methods' => 'post',
  305. 'sort' => '0',
  306. 'status' => '1',
  307. 'is_show' => '1',
  308. ],
  309. [
  310. 'menu_name' => '删除标签',
  311. 'menu_key' => 'member_label_delete',
  312. 'menu_short_name' => '删除标签',
  313. 'menu_type' => '2',
  314. 'icon' => '',
  315. 'api_url' => 'member/label/<id>',
  316. 'router_path' => '',
  317. 'view_path' => '',
  318. 'methods' => 'delete',
  319. 'sort' => '0',
  320. 'status' => '1',
  321. 'is_show' => '1',
  322. ],
  323. ],
  324. ],
  325. [
  326. 'menu_name' => '会员积分',
  327. 'menu_key' => 'member_point',
  328. 'menu_short_name' => '会员积分',
  329. 'menu_type' => '0',
  330. 'icon' => 'iconfont iconjifen-xianxing',
  331. 'api_url' => 'member/account/point',
  332. 'router_path' => 'member/point',
  333. 'view_path' => 'member/point',
  334. 'methods' => 'get',
  335. 'sort' => '70',
  336. 'status' => '1',
  337. 'is_show' => '1',
  338. 'children' => [
  339. [
  340. 'menu_name' => '会员积分调整',
  341. 'menu_key' => 'member_point_update',
  342. 'menu_short_name' => '会员积分调整',
  343. 'menu_type' => '2',
  344. 'icon' => '',
  345. 'api_url' => 'member/account/point',
  346. 'router_path' => '',
  347. 'view_path' => '',
  348. 'methods' => 'post',
  349. 'sort' => '0',
  350. 'status' => '1',
  351. 'is_show' => '1',
  352. ],
  353. [
  354. 'menu_name' => '积分明细',
  355. 'menu_key' => 'member_point_list',
  356. 'menu_short_name' => '积分明细',
  357. 'menu_type' => '1',
  358. 'icon' => 'iconfont iconjifen-xianxing',
  359. 'api_url' => 'member/account/point',
  360. 'router_path' => 'member/point',
  361. 'view_path' => 'member/point',
  362. 'methods' => 'get',
  363. 'sort' => '120',
  364. 'status' => '1',
  365. 'is_show' => '1',
  366. ],
  367. [
  368. 'menu_name' => '积分规则',
  369. 'menu_key' => 'point_rule',
  370. 'menu_short_name' => '积分规则',
  371. 'menu_type' => '1',
  372. 'icon' => '',
  373. 'api_url' => 'member/config/point_rule',
  374. 'router_path' => 'setting/point_rule',
  375. 'view_path' => 'setting/point_rule',
  376. 'methods' => 'get',
  377. 'sort' => '110',
  378. 'status' => '1',
  379. 'is_show' => '1',
  380. 'children' => [
  381. [
  382. 'menu_name' => '积分规则',
  383. 'menu_key' => 'set_point_rule',
  384. 'menu_short_name' => '设置积分规则',
  385. 'menu_type' => '2',
  386. 'icon' => '',
  387. 'api_url' => 'member/config/point_rule',
  388. 'router_path' => '',
  389. 'view_path' => '',
  390. 'methods' => 'post',
  391. 'sort' => '100',
  392. 'status' => '1',
  393. 'is_show' => '1',
  394. ]
  395. ]
  396. ],
  397. ]
  398. ],
  399. [
  400. 'menu_name' => '会员余额',
  401. 'menu_key' => 'member_balance',
  402. 'menu_short_name' => '会员余额',
  403. 'menu_type' => '1',
  404. 'icon' => 'element Money',
  405. 'api_url' => 'member/account/balance',
  406. 'router_path' => 'member/balance',
  407. 'view_path' => 'member/balance',
  408. 'methods' => 'get',
  409. 'sort' => '60',
  410. 'status' => '1',
  411. 'is_show' => '1',
  412. 'children' => [
  413. [
  414. 'menu_name' => '会员余额调整',
  415. 'menu_key' => 'member_balance_update',
  416. 'menu_short_name' => '会员余额调整',
  417. 'menu_type' => '2',
  418. 'icon' => '',
  419. 'api_url' => 'member/account/balance',
  420. 'router_path' => '',
  421. 'view_path' => '',
  422. 'methods' => 'post',
  423. 'sort' => '0',
  424. 'status' => '1',
  425. 'is_show' => '1',
  426. ],
  427. ]
  428. ],
  429. [
  430. 'menu_name' => '会员佣金',
  431. 'menu_key' => 'member_commission',
  432. 'menu_short_name' => '会员佣金',
  433. 'menu_type' => '1',
  434. 'icon' => 'iconfont iconhuiyuanyongjin1',
  435. 'api_url' => 'member/account/commission',
  436. 'router_path' => 'member/commission',
  437. 'view_path' => 'member/commission',
  438. 'methods' => 'get',
  439. 'sort' => '59',
  440. 'status' => '1',
  441. 'is_show' => '1',
  442. ],
  443. ],
  444. ],
  445. [
  446. 'menu_name' => '财务管理',
  447. 'menu_key' => 'finance',
  448. 'menu_short_name' => '财务',
  449. 'parent_key' => '',
  450. 'menu_type' => '0',
  451. 'icon' => 'element Box',
  452. 'api_url' => '',
  453. 'router_path' => '',
  454. 'view_path' => '',
  455. 'methods' => '',
  456. 'sort' => '60',
  457. 'status' => '1',
  458. 'is_show' => '1',
  459. 'children' => [
  460. [
  461. 'menu_name' => '财务概况',
  462. 'menu_key' => 'finance_index',
  463. 'menu_short_name' => '财务概况',
  464. 'menu_type' => '1',
  465. 'icon' => 'iconfont icongaikuang1',
  466. 'api_url' => 'finance/index',
  467. 'router_path' => 'finance/index',
  468. 'view_path' => 'finance/index',
  469. 'methods' => 'get',
  470. 'sort' => '100',
  471. 'status' => '1',
  472. 'is_show' => '1',
  473. ],
  474. [
  475. 'menu_name' => '财务流水',
  476. 'menu_key' => 'site_account_list',
  477. 'menu_short_name' => '财务流水',
  478. 'menu_type' => '1',
  479. 'icon' => 'iconfont iconcaiwuliushui',
  480. 'api_url' => 'finance/account',
  481. 'router_path' => 'finance/account',
  482. 'view_path' => 'finance/account',
  483. 'methods' => 'get',
  484. 'sort' => '100',
  485. 'status' => '1',
  486. 'is_show' => '1',
  487. ],
  488. [
  489. 'menu_name' => '支付单据详情',
  490. 'menu_key' => 'site_pay_detail',
  491. 'menu_short_name' => '支付单据详情',
  492. 'menu_type' => '1',
  493. 'icon' => 'element Postcard',
  494. 'api_url' => 'pay/detail',
  495. 'router_path' => 'finance/pay/detail',
  496. 'view_path' => 'finance/pay_detail',
  497. 'methods' => 'get',
  498. 'sort' => '98',
  499. 'status' => '1',
  500. 'is_show' => '0',
  501. ],
  502. [
  503. 'menu_name' => '会员提现',
  504. 'menu_key' => 'cash_out_list',
  505. 'menu_short_name' => '会员提现',
  506. 'menu_type' => '1',
  507. 'icon' => 'iconfont iconhuiyuantixian1',
  508. 'api_url' => 'member/cash_out',
  509. 'router_path' => 'finance/cash_out',
  510. 'view_path' => 'finance/cash_out',
  511. 'methods' => 'get',
  512. 'sort' => '97',
  513. 'status' => '1',
  514. 'is_show' => '1',
  515. 'children' => [
  516. [
  517. 'menu_name' => '会员提现审核',
  518. 'menu_key' => 'member_cash_out_audit',
  519. 'menu_short_name' => '会员提现审核',
  520. 'menu_type' => '2',
  521. 'icon' => '',
  522. 'api_url' => 'member/cash_out/audit/<id>/<action>',
  523. 'router_path' => '',
  524. 'view_path' => '',
  525. 'methods' => 'put',
  526. 'sort' => '100',
  527. 'status' => '1',
  528. 'is_show' => '1',
  529. ],
  530. [
  531. 'menu_name' => '会员提现转账',
  532. 'menu_key' => 'member_cash_out_transfer',
  533. 'menu_short_name' => '会员提现转账',
  534. 'menu_type' => '2',
  535. 'icon' => '',
  536. 'api_url' => 'member/cash_out/transfer/<id>',
  537. 'router_path' => '',
  538. 'view_path' => '',
  539. 'methods' => 'put',
  540. 'sort' => '100',
  541. 'status' => '1',
  542. 'is_show' => '1',
  543. ],
  544. ]
  545. ],
  546. [
  547. 'menu_name' => '会员退款',
  548. 'menu_key' => 'member_refund_list',
  549. 'menu_short_name' => '会员退款',
  550. 'menu_type' => '1',
  551. 'icon' => 'iconfont iconhuiyuantixian',
  552. 'api_url' => 'pay/pay_refund',
  553. 'router_path' => 'finance/refund',
  554. 'view_path' => 'finance/pay_refund',
  555. 'methods' => 'get',
  556. 'sort' => '9',
  557. 'status' => '1',
  558. 'is_show' => '1',
  559. 'children' => [
  560. [
  561. 'menu_name' => '会员退款转账',
  562. 'menu_key' => 'member_refund_transfer',
  563. 'menu_short_name' => '会员退款转账',
  564. 'menu_type' => '2',
  565. 'icon' => '',
  566. 'api_url' => 'pay/refund/transfer',
  567. 'router_path' => '',
  568. 'view_path' => '',
  569. 'methods' => 'post',
  570. 'sort' => '100',
  571. 'status' => '1',
  572. 'is_show' => '1',
  573. ],
  574. ]
  575. ],
  576. [
  577. 'menu_name' => '退款详情',
  578. 'menu_key' => 'member_refund_detail',
  579. 'menu_short_name' => '退款详情',
  580. 'menu_type' => '1',
  581. 'icon' => 'iconfont iconhuiyuantixian',
  582. 'api_url' => 'pay/refund',
  583. 'router_path' => 'finance/refund/detail',
  584. 'view_path' => 'finance/refund_detail',
  585. 'methods' => 'get',
  586. 'sort' => '9',
  587. 'status' => '1',
  588. 'is_show' => '0',
  589. ],
  590. [
  591. 'menu_name' => '店铺提现',
  592. 'menu_key' => 'shop_cash_out_list',
  593. 'menu_short_name' => '店铺提现',
  594. 'menu_type' => '1',
  595. 'icon' => 'iconfont icondianputixian1',
  596. 'api_url' => 'shop/admin/shop/cash_out',
  597. 'router_path' => 'finance/shop_cash_out',
  598. 'view_path' => 'finance/shop_cash_out',
  599. 'methods' => 'get',
  600. 'sort' => '97',
  601. 'status' => '1',
  602. 'is_show' => '1',
  603. 'children' => [
  604. [
  605. 'menu_name' => '店铺提现审核',
  606. 'menu_key' => 'shop_cash_out_audit',
  607. 'menu_short_name' => '店铺提现审核',
  608. 'menu_type' => '2',
  609. 'icon' => '',
  610. 'api_url' => 'shop/admin/shop/cashout/audit/<id>',
  611. 'router_path' => '',
  612. 'view_path' => '',
  613. 'methods' => 'put',
  614. 'sort' => '100',
  615. 'status' => '1',
  616. 'is_show' => '1',
  617. ],
  618. [
  619. 'menu_name' => '店铺提现转账',
  620. 'menu_key' => 'shop_cash_out_transfer',
  621. 'menu_short_name' => '店铺提现转账',
  622. 'menu_type' => '2',
  623. 'icon' => '',
  624. 'api_url' => 'shop/admin/shop/cashout/transfer/<id>',
  625. 'router_path' => '',
  626. 'view_path' => '',
  627. 'methods' => 'put',
  628. 'sort' => '100',
  629. 'status' => '1',
  630. 'is_show' => '1',
  631. ],
  632. ]
  633. ],
  634. [
  635. 'menu_name' => '支付记录',
  636. 'menu_key' => 'pay_list',
  637. 'menu_short_name' => '支付记录',
  638. 'menu_type' => '1',
  639. 'icon' => 'iconfont iconzhifujilu',
  640. 'api_url' => '',
  641. 'router_path' => 'finance/pay/list',
  642. 'view_path' => 'finance/pay_list',
  643. 'methods' => 'get',
  644. 'sort' => '96',
  645. 'status' => '1',
  646. 'is_show' => '1',
  647. ],
  648. ],
  649. ],
  650. [
  651. 'menu_name' => '营销管理',
  652. 'menu_key' => 'marketing',
  653. 'menu_short_name' => '营销',
  654. 'parent_key' => '',
  655. 'menu_type' => '0',
  656. 'icon' => 'iconfont iconyingxiao1',
  657. 'api_url' => '',
  658. 'router_path' => '',
  659. 'view_path' => '',
  660. 'methods' => '',
  661. 'sort' => '60',
  662. 'status' => '1',
  663. 'is_show' => '1',
  664. 'children' => [
  665. [
  666. 'menu_name' => '签到管理',
  667. 'menu_key' => 'sign',
  668. 'menu_short_name' => '签到管理',
  669. 'menu_type' => '0',
  670. 'icon' => 'iconfont iconqiandaoguanli',
  671. 'api_url' => '',
  672. 'router_path' => '',
  673. 'view_path' => '',
  674. 'methods' => '',
  675. 'sort' => '90',
  676. 'status' => '1',
  677. 'is_show' => '1',
  678. 'children' => [
  679. [
  680. 'menu_name' => '签到设置',
  681. 'menu_key' => 'sign_setting',
  682. 'menu_short_name' => '签到设置',
  683. 'menu_type' => '1',
  684. 'icon' => 'iconfont iconqiandaoshezhi',
  685. 'api_url' => 'coupon',
  686. 'router_path' => 'marketing/sign/config',
  687. 'view_path' => 'marketing/sign_config',
  688. 'methods' => 'get',
  689. 'sort' => '100',
  690. 'status' => '1',
  691. 'is_show' => '1',
  692. ],
  693. [
  694. 'menu_name' => '签到记录',
  695. 'menu_key' => 'sign_list',
  696. 'menu_short_name' => '签到记录',
  697. 'menu_type' => '1',
  698. 'icon' => 'iconfont iconqiandaojilu',
  699. 'api_url' => 'coupon',
  700. 'router_path' => 'marketing/sign/list',
  701. 'view_path' => 'marketing/sign_list',
  702. 'methods' => 'get',
  703. 'sort' => '90',
  704. 'status' => '1',
  705. 'is_show' => '1',
  706. ],
  707. ],
  708. ],
  709. ]
  710. ],
  711. [
  712. 'menu_name' => '应用管理',
  713. 'menu_key' => 'addon',
  714. 'menu_short_name' => '应用',
  715. 'parent_key' => '',
  716. 'menu_type' => '0',
  717. 'icon' => 'iconfont iconmanage-apply',
  718. 'api_url' => '',
  719. 'router_path' => '',
  720. 'view_path' => '',
  721. 'methods' => '',
  722. 'sort' => '55',
  723. 'status' => '1',
  724. 'is_show' => '1',
  725. 'children' => [
  726. [
  727. 'menu_name' => '应用列表',
  728. 'menu_key' => 'addon_list',
  729. 'menu_short_name' => '应用列表',
  730. 'menu_type' => '1',
  731. 'icon' => 'iconfont iconmanage-apply',
  732. 'api_url' => 'addon/list',
  733. 'router_path' => 'app/index',
  734. 'view_path' => 'app/index',
  735. 'methods' => 'get',
  736. 'sort' => '50',
  737. 'status' => '1',
  738. 'is_show' => '1',
  739. ],
  740. ],
  741. ],
  742. [
  743. 'menu_name' => '渠道管理',
  744. 'menu_key' => 'channel',
  745. 'menu_short_name' => '渠道',
  746. 'parent_key' => '',
  747. 'menu_type' => '0',
  748. 'icon' => 'element DataBoard',
  749. 'api_url' => '',
  750. 'router_path' => '',
  751. 'view_path' => '',
  752. 'methods' => '',
  753. 'sort' => '50',
  754. 'status' => '1',
  755. 'is_show' => '1',
  756. 'children' => [
  757. [
  758. 'menu_name' => '电脑端',
  759. 'menu_key' => 'pc_config',
  760. 'menu_short_name' => '电脑端',
  761. 'menu_type' => '1',
  762. 'icon' => 'iconfont icondesktop',
  763. 'api_url' => 'channel/pc/config',
  764. 'router_path' => 'channel/pc/config',
  765. 'view_path' => 'channel/pc/config',
  766. 'methods' => 'put',
  767. 'sort' => '100',
  768. 'status' => '1',
  769. 'is_show' => '1',
  770. ],
  771. [
  772. 'menu_name' => 'H5端',
  773. 'menu_key' => 'h5_config',
  774. 'menu_short_name' => 'H5端',
  775. 'menu_type' => '1',
  776. 'icon' => 'iconfont iconh5e',
  777. 'api_url' => 'channel/h5/config',
  778. 'router_path' => 'channel/h5/config',
  779. 'view_path' => 'channel/h5/config',
  780. 'methods' => 'put',
  781. 'sort' => '90',
  782. 'status' => '1',
  783. 'is_show' => '1',
  784. ],
  785. [
  786. 'menu_name' => '微信公众号',
  787. 'menu_key' => 'channel_wechat',
  788. 'menu_short_name' => '微信公众号',
  789. 'menu_type' => '1',
  790. 'icon' => 'iconfont iconweixingongzhonghao1',
  791. 'api_url' => 'wechat/access',
  792. 'router_path' => 'channel/wechat',
  793. 'view_path' => 'channel/wechat/access',
  794. 'methods' => '',
  795. 'sort' => '80',
  796. 'status' => '1',
  797. 'is_show' => '1',
  798. 'children' => [
  799. [
  800. 'menu_name' => '设置微信菜单',
  801. 'menu_key' => 'channel_wechat_menu_set',
  802. 'menu_short_name' => '设置微信菜单',
  803. 'menu_type' => '2',
  804. 'icon' => '',
  805. 'api_url' => 'wechat/menu',
  806. 'router_path' => '',
  807. 'view_path' => '',
  808. 'methods' => 'put',
  809. 'sort' => '100',
  810. 'status' => '1',
  811. 'is_show' => '1',
  812. ],
  813. [
  814. 'menu_name' => '同步消息模板',
  815. 'menu_key' => 'channel_wechat_template_sync',
  816. 'menu_short_name' => '同步消息模板',
  817. 'menu_type' => '2',
  818. 'icon' => '',
  819. 'api_url' => 'wechat/template/sync',
  820. 'router_path' => '',
  821. 'view_path' => '',
  822. 'methods' => 'put',
  823. 'sort' => '100',
  824. 'status' => '1',
  825. 'is_show' => '1',
  826. ],
  827. [
  828. 'menu_name' => '新增关键词回复',
  829. 'menu_key' => 'channel_wechat_reply_keywords_add',
  830. 'menu_short_name' => '新增关键词回复',
  831. 'menu_type' => '2',
  832. 'icon' => '',
  833. 'api_url' => 'wechat/reply/keywords',
  834. 'router_path' => '',
  835. 'view_path' => '',
  836. 'methods' => 'post',
  837. 'sort' => '100',
  838. 'status' => '1',
  839. 'is_show' => '1',
  840. ],
  841. [
  842. 'menu_name' => '更新关键词回复',
  843. 'menu_key' => 'channel_wechat_reply_keywords_edit',
  844. 'menu_short_name' => '更新关键词回复',
  845. 'menu_type' => '2',
  846. 'icon' => '',
  847. 'api_url' => 'wechat/reply/keywords/<id>',
  848. 'router_path' => '',
  849. 'view_path' => '',
  850. 'methods' => 'put',
  851. 'sort' => '100',
  852. 'status' => '1',
  853. 'is_show' => '1',
  854. ],
  855. [
  856. 'menu_name' => '删除关键词回复',
  857. 'menu_key' => 'channel_wechat_reply_keywords_del',
  858. 'menu_short_name' => '删除关键词回复',
  859. 'menu_type' => '2',
  860. 'icon' => '',
  861. 'api_url' => 'wechat/reply/keywords/<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' => 'weapp_access',
  874. 'menu_short_name' => '微信小程序',
  875. 'menu_type' => '1',
  876. 'icon' => 'iconfont iconxiaochengxushezhi',
  877. 'api_url' => 'weapp/access',
  878. 'router_path' => 'channel/weapp',
  879. 'view_path' => 'channel/weapp/access',
  880. 'methods' => 'get',
  881. 'sort' => '70',
  882. 'status' => '1',
  883. 'is_show' => '1',
  884. 'children' => [
  885. [
  886. 'menu_name' => '添加版本',
  887. 'menu_key' => 'weapp_access_add_version',
  888. 'menu_short_name' => '添加版本',
  889. 'menu_type' => '2',
  890. 'icon' => '',
  891. 'api_url' => 'weapp/version',
  892. 'router_path' => '',
  893. 'view_path' => '',
  894. 'methods' => 'post',
  895. 'sort' => '100',
  896. 'status' => '1',
  897. 'is_show' => '1',
  898. ],
  899. [
  900. 'menu_name' => '同步订阅消息',
  901. 'menu_key' => 'weapp_access_template_sync',
  902. 'menu_short_name' => '同步订阅消息',
  903. 'menu_type' => '2',
  904. 'icon' => '',
  905. 'api_url' => 'weapp/template/sync',
  906. 'router_path' => '',
  907. 'view_path' => '',
  908. 'methods' => 'put',
  909. 'sort' => '100',
  910. 'status' => '1',
  911. 'is_show' => '1',
  912. ],
  913. ]
  914. ],
  915. [
  916. 'menu_name' => '支付宝小程序',
  917. 'menu_key' => 'aliapp_weapp_access',
  918. 'menu_short_name' => '支付宝小程序',
  919. 'menu_type' => '1',
  920. 'icon' => 'iconfont iconzhifubao',
  921. 'api_url' => 'aliapp/access',
  922. 'router_path' => 'channel/aliapp',
  923. 'view_path' => 'channel/aliapp/access',
  924. 'methods' => 'get',
  925. 'sort' => '60',
  926. 'status' => '1',
  927. 'is_show' => '1',
  928. ],
  929. [
  930. 'menu_name' => '发布教程',
  931. 'menu_key' => 'wechat_course',
  932. 'menu_short_name' => '发布教程',
  933. 'menu_type' => '1',
  934. 'icon' => '',
  935. 'api_url' => 'wechat/course',
  936. 'router_path' => 'channel/wechat/course',
  937. 'view_path' => 'channel/wechat/course',
  938. 'methods' => 'get',
  939. 'sort' => '0',
  940. 'status' => '1',
  941. 'is_show' => '0',
  942. ],
  943. [
  944. 'menu_name' => '公众号配置',
  945. 'menu_key' => 'wechat_config',
  946. 'menu_short_name' => '公众号配置',
  947. 'menu_type' => '1',
  948. 'icon' => '',
  949. 'api_url' => 'wechat/config',
  950. 'router_path' => 'channel/wechat/config',
  951. 'view_path' => 'channel/wechat/config',
  952. 'methods' => 'get',
  953. 'sort' => '0',
  954. 'status' => '1',
  955. 'is_show' => '0',
  956. 'children' => [
  957. [
  958. 'menu_name' => '保存设置',
  959. 'menu_key' => 'wechat_config_set',
  960. 'menu_short_name' => '保存设置',
  961. 'menu_type' => '2',
  962. 'icon' => '',
  963. 'api_url' => 'wechat/config',
  964. 'router_path' => '',
  965. 'view_path' => '',
  966. 'methods' => 'put',
  967. 'sort' => '100',
  968. 'status' => '1',
  969. 'is_show' => '1',
  970. ],
  971. ],
  972. ],
  973. [
  974. 'menu_name' => '公众号回复配置',
  975. 'menu_key' => 'wechat_reply_config',
  976. 'menu_short_name' => '公众号回复配置',
  977. 'menu_type' => '1',
  978. 'icon' => '',
  979. 'api_url' => '',
  980. 'router_path' => 'channel/wechat/reply',
  981. 'view_path' => 'channel/wechat/reply',
  982. 'methods' => 'get',
  983. 'sort' => '0',
  984. 'status' => '1',
  985. 'is_show' => '0',
  986. 'children' => [
  987. [
  988. 'menu_name' => '默认回复设置',
  989. 'menu_key' => 'wechat_default_reply_set',
  990. 'menu_short_name' => '默认回复设置',
  991. 'menu_type' => '2',
  992. 'icon' => '',
  993. 'api_url' => 'channel/wechat/reply/default',
  994. 'router_path' => '',
  995. 'view_path' => '',
  996. 'methods' => 'put',
  997. 'sort' => '100',
  998. 'status' => '1',
  999. 'is_show' => '1',
  1000. ],
  1001. [
  1002. 'menu_name' => '关注回复设置',
  1003. 'menu_key' => 'wechat_subscribe_reply_set',
  1004. 'menu_short_name' => '关注回复设置',
  1005. 'menu_type' => '2',
  1006. 'icon' => '',
  1007. 'api_url' => 'channel/wechat/reply/subscribe',
  1008. 'router_path' => '',
  1009. 'view_path' => '',
  1010. 'methods' => 'put',
  1011. 'sort' => '100',
  1012. 'status' => '1',
  1013. 'is_show' => '1',
  1014. ]
  1015. ]
  1016. ],
  1017. [
  1018. 'menu_name' => '关键字回复添加/编辑',
  1019. 'menu_key' => 'wechat_keyword_reply',
  1020. 'menu_short_name' => '关键字回复添加/编辑',
  1021. 'menu_type' => '1',
  1022. 'icon' => '',
  1023. 'api_url' => 'channel/wechat/reply/keywords/<id>',
  1024. 'router_path' => 'channel/wechat/keyword_reply_edit',
  1025. 'view_path' => 'channel/wechat/keyword_reply_edit',
  1026. 'methods' => 'get',
  1027. 'sort' => '0',
  1028. 'status' => '1',
  1029. 'is_show' => '0',
  1030. 'children' => [
  1031. [
  1032. 'menu_name' => '关键字回复添加',
  1033. 'menu_key' => 'wechat_keyword_reply_add',
  1034. 'menu_short_name' => '关键字回复添加',
  1035. 'menu_type' => '2',
  1036. 'icon' => '',
  1037. 'api_url' => 'channel/wechat/reply/keywords/<id>',
  1038. 'router_path' => '',
  1039. 'view_path' => '',
  1040. 'methods' => 'post',
  1041. 'sort' => '0',
  1042. 'status' => '1',
  1043. 'is_show' => '1',
  1044. ],
  1045. [
  1046. 'menu_name' => '关键字回复编辑',
  1047. 'menu_key' => 'wechat_keyword_reply_edit',
  1048. 'menu_short_name' => '关键字回复编辑',
  1049. 'menu_type' => '2',
  1050. 'icon' => '',
  1051. 'api_url' => 'channel/wechat/reply/keywords/<id>',
  1052. 'router_path' => '',
  1053. 'view_path' => '',
  1054. 'methods' => 'put',
  1055. 'sort' => '0',
  1056. 'status' => '1',
  1057. 'is_show' => '1',
  1058. ],
  1059. [
  1060. 'menu_name' => '关键字回复删除',
  1061. 'menu_key' => 'wechat_keyword_reply_delete',
  1062. 'menu_short_name' => '关键字回复编辑',
  1063. 'menu_type' => '2',
  1064. 'icon' => '',
  1065. 'api_url' => 'channel/wechat/reply/keywords/<id>',
  1066. 'router_path' => '',
  1067. 'view_path' => '',
  1068. 'methods' => 'delete',
  1069. 'sort' => '0',
  1070. 'status' => '1',
  1071. 'is_show' => '1',
  1072. ],
  1073. ]
  1074. ],
  1075. [
  1076. 'menu_name' => '自定义菜单',
  1077. 'menu_key' => 'wechat_menu',
  1078. 'menu_short_name' => '自定义菜单',
  1079. 'menu_type' => '1',
  1080. 'icon' => '',
  1081. 'api_url' => 'wechat/menu',
  1082. 'router_path' => 'channel/wechat/menu',
  1083. 'view_path' => 'channel/wechat/menu',
  1084. 'methods' => 'get',
  1085. 'sort' => '0',
  1086. 'status' => '1',
  1087. 'is_show' => '0',
  1088. ],
  1089. [
  1090. 'menu_name' => '模板消息',
  1091. 'menu_key' => 'wechat_template_message',
  1092. 'menu_short_name' => '模板消息',
  1093. 'menu_type' => '1',
  1094. 'icon' => 'iconfont iconxiaoximoban',
  1095. 'api_url' => 'wechat/template',
  1096. 'router_path' => 'channel/wechat/message',
  1097. 'view_path' => 'channel/wechat/template',
  1098. 'methods' => 'get',
  1099. 'sort' => '0',
  1100. 'status' => '1',
  1101. 'is_show' => '0',
  1102. ],
  1103. [
  1104. 'menu_name' => '配置教程',
  1105. 'menu_key' => 'weapp_course',
  1106. 'menu_short_name' => '配置教程',
  1107. 'menu_type' => '1',
  1108. 'icon' => '',
  1109. 'api_url' => 'weapp/course',
  1110. 'router_path' => 'channel/weapp/course',
  1111. 'view_path' => 'channel/weapp/course',
  1112. 'methods' => 'get',
  1113. 'sort' => '0',
  1114. 'status' => '1',
  1115. 'is_show' => '0',
  1116. ],
  1117. [
  1118. 'menu_name' => '小程序配置',
  1119. 'menu_key' => 'weapp_config',
  1120. 'menu_short_name' => '小程序配置',
  1121. 'menu_type' => '1',
  1122. 'icon' => '',
  1123. 'api_url' => 'weapp/config',
  1124. 'router_path' => 'channel/weapp/config',
  1125. 'view_path' => 'channel/weapp/config',
  1126. 'methods' => 'get',
  1127. 'sort' => '0',
  1128. 'status' => '1',
  1129. 'is_show' => '0',
  1130. 'children' => [
  1131. [
  1132. 'menu_name' => '保存设置',
  1133. 'menu_key' => 'weapp_config_set',
  1134. 'menu_short_name' => '保存设置',
  1135. 'menu_type' => '2',
  1136. 'icon' => '',
  1137. 'api_url' => 'weapp/config',
  1138. 'router_path' => '',
  1139. 'view_path' => '',
  1140. 'methods' => 'put',
  1141. 'sort' => '100',
  1142. 'status' => '1',
  1143. 'is_show' => '1',
  1144. ],
  1145. ],
  1146. ],
  1147. [
  1148. 'menu_name' => '订阅消息',
  1149. 'menu_key' => 'weapp_template_message',
  1150. 'menu_short_name' => '订阅消息',
  1151. 'menu_type' => '1',
  1152. 'icon' => '',
  1153. 'api_url' => 'weapp/template',
  1154. 'router_path' => 'channel/weapp/message',
  1155. 'view_path' => 'channel/weapp/template',
  1156. 'methods' => 'get',
  1157. 'sort' => '0',
  1158. 'status' => '1',
  1159. 'is_show' => '0',
  1160. ],
  1161. [
  1162. 'menu_name' => '小程序发布',
  1163. 'menu_key' => 'weapp_code',
  1164. 'menu_short_name' => '小程序发布',
  1165. 'menu_type' => '1',
  1166. 'icon' => '',
  1167. 'api_url' => 'weapp/code',
  1168. 'router_path' => 'channel/weapp/code',
  1169. 'view_path' => 'channel/weapp/code',
  1170. 'methods' => 'get',
  1171. 'sort' => '0',
  1172. 'status' => '1',
  1173. 'is_show' => '0',
  1174. ],
  1175. [
  1176. 'menu_name' => '支付宝配置',
  1177. 'menu_key' => 'aliapp_config',
  1178. 'menu_short_name' => '支付宝配置',
  1179. 'menu_type' => '1',
  1180. 'icon' => '',
  1181. 'api_url' => 'aliapp/config',
  1182. 'router_path' => 'channel/aliapp/config',
  1183. 'view_path' => 'channel/aliapp/config',
  1184. 'methods' => 'put',
  1185. 'sort' => '0',
  1186. 'status' => '1',
  1187. 'is_show' => '0',
  1188. 'children' => [
  1189. [
  1190. 'menu_name' => '保存设置',
  1191. 'menu_key' => 'aliapp_config_set',
  1192. 'menu_short_name' => '保存设置',
  1193. 'menu_type' => '2',
  1194. 'icon' => '',
  1195. 'api_url' => 'aliapp/config',
  1196. 'router_path' => '',
  1197. 'view_path' => '',
  1198. 'methods' => 'put',
  1199. 'sort' => '100',
  1200. 'status' => '1',
  1201. 'is_show' => '1',
  1202. ],
  1203. ],
  1204. ],
  1205. [
  1206. 'menu_name' => '配置教程',
  1207. 'menu_key' => 'aliapp_course',
  1208. 'menu_short_name' => '配置教程',
  1209. 'menu_type' => '1',
  1210. 'icon' => '',
  1211. 'api_url' => 'aliapp/course',
  1212. 'router_path' => 'channel/aliapp/course',
  1213. 'view_path' => 'channel/aliapp/course',
  1214. 'methods' => 'get',
  1215. 'sort' => '0',
  1216. 'status' => '1',
  1217. 'is_show' => '0',
  1218. ],
  1219. ],
  1220. ],
  1221. [
  1222. 'menu_name' => '网站装修',
  1223. 'menu_key' => 'web_diy',
  1224. 'menu_short_name' => '网站',
  1225. 'parent_key' => '',
  1226. 'menu_type' => '0',
  1227. 'icon' => 'element Brush',
  1228. 'api_url' => '',
  1229. 'router_path' => '',
  1230. 'view_path' => '',
  1231. 'methods' => '',
  1232. 'sort' => '90',
  1233. 'status' => '1',
  1234. 'is_show' => '1',
  1235. 'children' => [
  1236. [
  1237. 'menu_name' => '手机端',
  1238. 'menu_key' => 'diy_wap',
  1239. 'menu_short_name' => '手机端',
  1240. 'menu_type' => '0',
  1241. 'icon' => 'iconfont iconshoujiduan',
  1242. 'api_url' => '',
  1243. 'router_path' => '',
  1244. 'view_path' => '',
  1245. 'methods' => '',
  1246. 'sort' => '100',
  1247. 'status' => '1',
  1248. 'is_show' => '1',
  1249. 'children' =>[
  1250. [
  1251. 'menu_name' => '启动页',
  1252. 'menu_key' => 'diy_page_decorate_index',
  1253. 'menu_short_name' => '启动页',
  1254. 'menu_type' => '1',
  1255. 'icon' => 'element House',
  1256. 'api_url' => '',
  1257. 'router_path' => 'diy/index',
  1258. 'view_path' => 'diy/index',
  1259. 'methods' => '',
  1260. 'sort' => '100',
  1261. 'status' => '1',
  1262. 'is_show' => '1',
  1263. ],
  1264. [
  1265. 'menu_name' => '个人中心',
  1266. 'menu_key' => 'diy_page_decorate_member_index',
  1267. 'menu_short_name' => '个人中心',
  1268. 'menu_type' => '1',
  1269. 'icon' => 'iconfont iconhuiyuanliebiao',
  1270. 'api_url' => '',
  1271. 'router_path' => 'diy/member',
  1272. 'view_path' => 'diy/member',
  1273. 'methods' => '',
  1274. 'sort' => '99',
  1275. 'status' => '1',
  1276. 'is_show' => '1',
  1277. ],
  1278. [
  1279. 'menu_name' => '微页面',
  1280. 'menu_key' => 'diy_page_list',
  1281. 'menu_short_name' => '微页面',
  1282. 'menu_type' => '1',
  1283. 'icon' => 'iconfont iconweiyemian',
  1284. 'api_url' => 'diy/diy',
  1285. 'router_path' => 'diy/list',
  1286. 'view_path' => 'diy/list',
  1287. 'methods' => 'get',
  1288. 'sort' => '90',
  1289. 'status' => '1',
  1290. 'is_show' => '1',
  1291. 'children' => [
  1292. [
  1293. 'menu_name' => '保存',
  1294. 'menu_key' => 'diy_page_update',
  1295. 'menu_short_name' => '保存',
  1296. 'menu_type' => '2',
  1297. 'icon' => '',
  1298. 'api_url' => 'diy/diy',
  1299. 'router_path' => '',
  1300. 'view_path' => '',
  1301. 'methods' => 'post',
  1302. 'sort' => '95',
  1303. 'status' => '1',
  1304. 'is_show' => '1',
  1305. ],
  1306. [
  1307. 'menu_name' => '删除',
  1308. 'menu_key' => 'diy_page_delete',
  1309. 'menu_short_name' => '删除',
  1310. 'menu_type' => '2',
  1311. 'icon' => '',
  1312. 'api_url' => 'diy/diy/<id>',
  1313. 'router_path' => '',
  1314. 'view_path' => '',
  1315. 'methods' => 'delete',
  1316. 'sort' => '95',
  1317. 'status' => '1',
  1318. 'is_show' => '1',
  1319. ],
  1320. [
  1321. 'menu_name' => '页面分享内容设置',
  1322. 'menu_key' => 'diy_page_share_set',
  1323. 'menu_short_name' => '页面分享内容设置',
  1324. 'menu_type' => '2',
  1325. 'icon' => '',
  1326. 'api_url' => 'diy/share',
  1327. 'router_path' => '',
  1328. 'view_path' => '',
  1329. 'methods' => 'put',
  1330. 'sort' => '100',
  1331. 'status' => '1',
  1332. 'is_show' => '1',
  1333. ],
  1334. ]
  1335. ],
  1336. [
  1337. 'menu_name' => '页面路径',
  1338. 'menu_key' => 'diy_page_route',
  1339. 'menu_short_name' => '页面路径',
  1340. 'menu_type' => '1',
  1341. 'icon' => 'iconfont iconyemianlujing',
  1342. 'api_url' => 'diy/diy',
  1343. 'router_path' => 'diy/route',
  1344. 'view_path' => 'diy/route',
  1345. 'methods' => 'get',
  1346. 'sort' => '85',
  1347. 'status' => '1',
  1348. 'is_show' => '1',
  1349. 'children' => [
  1350. [
  1351. 'menu_name' => '分享设置',
  1352. 'menu_key' => 'diy_page_route_share_set',
  1353. 'menu_short_name' => '分享设置',
  1354. 'menu_type' => '2',
  1355. 'icon' => '',
  1356. 'api_url' => 'route/share',
  1357. 'router_path' => '',
  1358. 'view_path' => '',
  1359. 'methods' => 'put',
  1360. 'sort' => '100',
  1361. 'status' => '1',
  1362. 'is_show' => '1',
  1363. ],
  1364. ],
  1365. ],
  1366. [
  1367. 'menu_name' => '底部导航',
  1368. 'menu_key' => 'diy_bottom',
  1369. 'menu_short_name' => '底部导航',
  1370. 'menu_type' => '1',
  1371. 'icon' => 'iconfont icondibudaohang',
  1372. 'api_url' => 'diy/bottom',
  1373. 'router_path' => 'diy/tabbar',
  1374. 'view_path' => 'diy/tabbar',
  1375. 'methods' => 'get',
  1376. 'sort' => '80',
  1377. 'status' => '1',
  1378. 'is_show' => '1',
  1379. 'children' => [
  1380. [
  1381. 'menu_name' => '保存',
  1382. 'menu_key' => 'diy_tabbar_update',
  1383. 'menu_short_name' => '保存',
  1384. 'menu_type' => '2',
  1385. 'icon' => '',
  1386. 'api_url' => 'diy/bottom',
  1387. 'router_path' => '',
  1388. 'view_path' => '',
  1389. 'methods' => 'post',
  1390. 'sort' => '100',
  1391. 'status' => '1',
  1392. 'is_show' => '1',
  1393. ],
  1394. ],
  1395. ],
  1396. [
  1397. 'menu_name' => '主题风格',
  1398. 'menu_key' => 'diy_theme_style',
  1399. 'menu_short_name' => '主题风格',
  1400. 'menu_type' => '1',
  1401. 'icon' => 'element Files',
  1402. 'api_url' => '',
  1403. 'router_path' => 'diy/theme_style',
  1404. 'view_path' => 'diy/theme_style',
  1405. 'methods' => 'get',
  1406. 'sort' => '75',
  1407. 'status' => '1',
  1408. 'is_show' => '1'
  1409. ],
  1410. ],
  1411. ],
  1412. [
  1413. 'menu_name' => '电脑端',
  1414. 'menu_key' => 'diy_web',
  1415. 'menu_short_name' => '电脑端',
  1416. 'menu_type' => '0',
  1417. 'icon' => 'iconfont icondesktop',
  1418. 'api_url' => '',
  1419. 'router_path' => 'web',
  1420. 'view_path' => '',
  1421. 'methods' => '',
  1422. 'sort' => '99',
  1423. 'status' => '1',
  1424. 'is_show' => '1',
  1425. 'children' =>[
  1426. [
  1427. 'menu_name' => '首页导航',
  1428. 'menu_key' => 'diy_web_nav',
  1429. 'menu_short_name' => '首页导航',
  1430. 'menu_type' => '1',
  1431. 'icon' => 'iconfont iconshouye1',
  1432. 'api_url' => '',
  1433. 'router_path' => 'web/nav',
  1434. 'view_path' => 'web/nav',
  1435. 'methods' => '',
  1436. 'sort' => '100',
  1437. 'status' => '1',
  1438. 'is_show' => '1',
  1439. 'children' => [
  1440. [
  1441. 'menu_name' => '首页导航添加',
  1442. 'menu_key' => 'diy_web_nav_add',
  1443. 'menu_short_name' => '首页导航添加',
  1444. 'menu_type' => '2',
  1445. 'icon' => '',
  1446. 'api_url' => 'web/nav',
  1447. 'router_path' => '',
  1448. 'view_path' => '',
  1449. 'methods' => 'post',
  1450. 'sort' => '1',
  1451. 'status' => '1',
  1452. 'is_show' => '1',
  1453. ],
  1454. [
  1455. 'menu_name' => '首页导航编辑',
  1456. 'menu_key' => 'diy_web_nav_edit',
  1457. 'menu_short_name' => '首页导航编辑',
  1458. 'menu_type' => '2',
  1459. 'icon' => '',
  1460. 'api_url' => 'web/nav/<id>',
  1461. 'router_path' => '',
  1462. 'view_path' => '',
  1463. 'methods' => 'put',
  1464. 'sort' => '1',
  1465. 'status' => '1',
  1466. 'is_show' => '1',
  1467. ],
  1468. [
  1469. 'menu_name' => '首页导航删除',
  1470. 'menu_key' => 'diy_web_nav_delete',
  1471. 'menu_short_name' => '首页导航删除',
  1472. 'menu_type' => '2',
  1473. 'icon' => '',
  1474. 'api_url' => 'web/nav/<id>',
  1475. 'router_path' => '',
  1476. 'view_path' => '',
  1477. 'methods' => 'delete',
  1478. 'sort' => '1',
  1479. 'status' => '1',
  1480. 'is_show' => '1',
  1481. ]
  1482. ]
  1483. ],
  1484. [
  1485. 'menu_name' => '友情链接',
  1486. 'menu_key' => 'diy_web_friendly_link',
  1487. 'menu_short_name' => '友情链接',
  1488. 'menu_type' => '1',
  1489. 'icon' => 'iconfont iconyouqinglianjie1',
  1490. 'api_url' => '',
  1491. 'router_path' => 'web/friendly_link',
  1492. 'view_path' => 'web/friendly_link',
  1493. 'methods' => '',
  1494. 'sort' => '100',
  1495. 'status' => '1',
  1496. 'is_show' => '1',
  1497. 'children' => [
  1498. [
  1499. 'menu_name' => '友情链接添加',
  1500. 'menu_key' => 'diy_web_friendly_link_add',
  1501. 'menu_short_name' => '友情链接添加',
  1502. 'menu_type' => '2',
  1503. 'icon' => '',
  1504. 'api_url' => 'web/friendly_link',
  1505. 'router_path' => '',
  1506. 'view_path' => '',
  1507. 'methods' => 'post',
  1508. 'sort' => '1',
  1509. 'status' => '1',
  1510. 'is_show' => '1',
  1511. ],
  1512. [
  1513. 'menu_name' => '友情链接编辑',
  1514. 'menu_key' => 'diy_web_friendly_link_edit',
  1515. 'menu_short_name' => '友情链接编辑',
  1516. 'menu_type' => '2',
  1517. 'icon' => '',
  1518. 'api_url' => 'web/friendly_link/<id>',
  1519. 'router_path' => '',
  1520. 'view_path' => '',
  1521. 'methods' => 'put',
  1522. 'sort' => '1',
  1523. 'status' => '1',
  1524. 'is_show' => '1',
  1525. ],
  1526. [
  1527. 'menu_name' => '友情链接删除',
  1528. 'menu_key' => 'diy_web_friendly_link_delete',
  1529. 'menu_short_name' => '友情链接删除',
  1530. 'menu_type' => '2',
  1531. 'icon' => '',
  1532. 'api_url' => 'web/friendly_link/<id>',
  1533. 'router_path' => '',
  1534. 'view_path' => '',
  1535. 'methods' => 'delete',
  1536. 'sort' => '1',
  1537. 'status' => '1',
  1538. 'is_show' => '1',
  1539. ]
  1540. ]
  1541. ],
  1542. [
  1543. 'menu_name' => '首页设置',
  1544. 'menu_key' => 'web_index_setting',
  1545. 'menu_short_name' => '首页设置',
  1546. 'menu_type' => '1',
  1547. 'icon' => 'iconfont iconshangchengshezhi',
  1548. 'api_url' => 'web/config',
  1549. 'router_path' => 'web/config',
  1550. 'view_path' => 'web/config',
  1551. 'methods' => 'get',
  1552. 'sort' => '0',
  1553. 'status' => '1',
  1554. 'is_show' => '1',
  1555. 'children' => [
  1556. [
  1557. 'menu_name' => '保存设置',
  1558. 'menu_key' => 'web_index_setting_save',
  1559. 'menu_short_name' => '保存设置',
  1560. 'menu_type' => '2',
  1561. 'icon' => '',
  1562. 'api_url' => 'web/config',
  1563. 'router_path' => '',
  1564. 'view_path' => '',
  1565. 'methods' => 'put',
  1566. 'sort' => '100',
  1567. 'status' => '1',
  1568. 'is_show' => '1',
  1569. ],
  1570. ],
  1571. ],
  1572. ],
  1573. ],
  1574. [
  1575. 'menu_name' => '广告位',
  1576. 'menu_key' => 'diy_adv_position',
  1577. 'menu_short_name' => '广告位',
  1578. 'menu_type' => '1',
  1579. 'icon' => 'iconfont icontupianguanggao1',
  1580. 'api_url' => '',
  1581. 'router_path' => 'diy/adv_position',
  1582. 'view_path' => 'diy/adv_position',
  1583. 'methods' => 'get',
  1584. 'sort' => '75',
  1585. 'status' => '1',
  1586. 'is_show' => '1',
  1587. ],
  1588. [
  1589. 'menu_name' => '文章管理',
  1590. 'menu_key' => 'article',
  1591. 'menu_short_name' => '文章管理',
  1592. 'menu_type' => '1',
  1593. 'icon' => 'iconfont iconwenzhangguanli1',
  1594. 'api_url' => '',
  1595. 'router_path' => 'article',
  1596. 'view_path' => '',
  1597. 'methods' => '',
  1598. 'sort' => '60',
  1599. 'status' => '1',
  1600. 'is_show' => '1',
  1601. 'children' =>[
  1602. [
  1603. 'menu_name' => '文章列表',
  1604. 'menu_key' => 'article_list',
  1605. 'menu_short_name' => '文章列表',
  1606. 'menu_type' => '1',
  1607. 'icon' => 'iconfont iconwenzhangliebiao1',
  1608. 'api_url' => '',
  1609. 'router_path' => 'article/list',
  1610. 'view_path' => 'article/list',
  1611. 'methods' => '',
  1612. 'sort' => '100',
  1613. 'status' => '1',
  1614. 'is_show' => '1',
  1615. 'children' => [
  1616. [
  1617. 'menu_name' => '文章删除',
  1618. 'menu_key' => 'article_delete',
  1619. 'menu_short_name' => '文章删除',
  1620. 'menu_type' => '2',
  1621. 'icon' => '',
  1622. 'api_url' => 'article/article/<id>',
  1623. 'router_path' => '',
  1624. 'view_path' => '',
  1625. 'methods' => 'delete',
  1626. 'sort' => '1',
  1627. 'status' => '1',
  1628. 'is_show' => '1',
  1629. ]
  1630. ]
  1631. ],
  1632. [
  1633. 'menu_name' => '文章添加/编辑',
  1634. 'menu_key' => 'article_add_edit',
  1635. 'menu_short_name' => '文章添加/编辑',
  1636. 'menu_type' => '1',
  1637. 'icon' => '',
  1638. 'api_url' => '',
  1639. 'router_path' => 'article/edit',
  1640. 'view_path' => 'article/edit',
  1641. 'methods' => 'post',
  1642. 'sort' => '90',
  1643. 'status' => '1',
  1644. 'is_show' => '0',
  1645. 'children' =>[
  1646. [
  1647. 'menu_name' => '文章添加',
  1648. 'menu_key' => 'article_add',
  1649. 'menu_short_name' => '文章添加',
  1650. 'menu_type' => '2',
  1651. 'icon' => '',
  1652. 'api_url' => 'article/article',
  1653. 'router_path' => '',
  1654. 'view_path' => '',
  1655. 'methods' => 'post',
  1656. 'sort' => '1',
  1657. 'status' => '1',
  1658. 'is_show' => '1',
  1659. ],
  1660. [
  1661. 'menu_name' => '文章编辑',
  1662. 'menu_key' => 'article_edit',
  1663. 'menu_short_name' => '文章编辑',
  1664. 'menu_type' => '2',
  1665. 'icon' => '',
  1666. 'api_url' => 'article/article/<id>',
  1667. 'router_path' => '',
  1668. 'view_path' => '',
  1669. 'methods' => 'put',
  1670. 'sort' => '1',
  1671. 'status' => '1',
  1672. 'is_show' => '1',
  1673. ],
  1674. ]
  1675. ],
  1676. [
  1677. 'menu_name' => '文章栏目',
  1678. 'menu_key' => 'article_category',
  1679. 'menu_short_name' => '文章栏目',
  1680. 'menu_type' => '1',
  1681. 'icon' => 'iconfont iconwenzhanglanmu1',
  1682. 'api_url' => '',
  1683. 'router_path' => 'article/category',
  1684. 'view_path' => 'article/category',
  1685. 'methods' => '',
  1686. 'sort' => '100',
  1687. 'status' => '1',
  1688. 'is_show' => '1',
  1689. 'children' => [
  1690. [
  1691. 'menu_name' => '文章栏目添加',
  1692. 'menu_key' => 'article_category_add',
  1693. 'menu_short_name' => '文章栏目添加',
  1694. 'menu_type' => '2',
  1695. 'icon' => '',
  1696. 'api_url' => 'article/category',
  1697. 'router_path' => '',
  1698. 'view_path' => '',
  1699. 'methods' => 'post',
  1700. 'sort' => '1',
  1701. 'status' => '1',
  1702. 'is_show' => '1',
  1703. ],
  1704. [
  1705. 'menu_name' => '文章栏目编辑',
  1706. 'menu_key' => 'article_category_edit',
  1707. 'menu_short_name' => '文章栏目编辑',
  1708. 'menu_type' => '2',
  1709. 'icon' => '',
  1710. 'api_url' => 'article/category/<id>',
  1711. 'router_path' => '',
  1712. 'view_path' => '',
  1713. 'methods' => 'put',
  1714. 'sort' => '1',
  1715. 'status' => '1',
  1716. 'is_show' => '1',
  1717. ],
  1718. [
  1719. 'menu_name' => '文章栏目删除',
  1720. 'menu_key' => 'article_category_delete',
  1721. 'menu_short_name' => '文章栏目删除',
  1722. 'menu_type' => '2',
  1723. 'icon' => '',
  1724. 'api_url' => 'article/category/<category_id>',
  1725. 'router_path' => '',
  1726. 'view_path' => '',
  1727. 'methods' => 'delete',
  1728. 'sort' => '1',
  1729. 'status' => '1',
  1730. 'is_show' => '1',
  1731. ]
  1732. ]
  1733. ],
  1734. ],
  1735. ],
  1736. [
  1737. 'menu_name' => '广告管理',
  1738. 'menu_key' => 'diy_adv',
  1739. 'menu_short_name' => '广告',
  1740. 'menu_type' => '1',
  1741. 'icon' => 'element House',
  1742. 'api_url' => '',
  1743. 'router_path' => 'diy/adv',
  1744. 'view_path' => 'diy/adv',
  1745. 'methods' => '',
  1746. 'sort' => '100',
  1747. 'status' => '1',
  1748. 'is_show' => '0',
  1749. 'children' => [
  1750. [
  1751. 'menu_name' => '广告添加',
  1752. 'menu_key' => 'diy_adv_add',
  1753. 'menu_short_name' => '广告添加',
  1754. 'menu_type' => '2',
  1755. 'icon' => '',
  1756. 'api_url' => 'diy/adv',
  1757. 'router_path' => '',
  1758. 'view_path' => '',
  1759. 'methods' => 'post',
  1760. 'sort' => '1',
  1761. 'status' => '1',
  1762. 'is_show' => '1',
  1763. ],
  1764. [
  1765. 'menu_name' => '广告编辑',
  1766. 'menu_key' => 'diy_adv_edit',
  1767. 'menu_short_name' => '广告编辑',
  1768. 'menu_type' => '2',
  1769. 'icon' => '',
  1770. 'api_url' => 'diy/adv/<id>',
  1771. 'router_path' => '',
  1772. 'view_path' => '',
  1773. 'methods' => 'put',
  1774. 'sort' => '1',
  1775. 'status' => '1',
  1776. 'is_show' => '1',
  1777. ],
  1778. [
  1779. 'menu_name' => '广告删除',
  1780. 'menu_key' => 'diy_adv_delete',
  1781. 'menu_short_name' => '广告删除',
  1782. 'menu_type' => '2',
  1783. 'icon' => '',
  1784. 'api_url' => 'diy/adv/<id>',
  1785. 'router_path' => '',
  1786. 'view_path' => '',
  1787. 'methods' => 'delete',
  1788. 'sort' => '1',
  1789. 'status' => '1',
  1790. 'is_show' => '1',
  1791. ]
  1792. ]
  1793. ],
  1794. [
  1795. 'menu_name' => '素材管理',
  1796. 'menu_key' => 'attachment',
  1797. 'menu_short_name' => '素材管理',
  1798. 'menu_type' => '1',
  1799. 'icon' => 'iconfont iconsucaiguanli',
  1800. 'api_url' => 'sys/attachment',
  1801. 'router_path' => 'diy/attachment',
  1802. 'view_path' => 'tools/attachment',
  1803. 'methods' => 'get',
  1804. 'sort' => '75',
  1805. 'status' => '1',
  1806. 'is_show' => '1',
  1807. 'children' => [
  1808. [
  1809. 'menu_name' => '素材移动',
  1810. 'menu_key' => 'attachment_move',
  1811. 'menu_short_name' => '素材移动',
  1812. 'menu_type' => '2',
  1813. 'icon' => '',
  1814. 'api_url' => 'sys/attachment/batchmove',
  1815. 'router_path' => '',
  1816. 'view_path' => '',
  1817. 'methods' => 'put',
  1818. 'sort' => '1',
  1819. 'status' => '1',
  1820. 'is_show' => '1',
  1821. ],
  1822. [
  1823. 'menu_name' => '素材删除',
  1824. 'menu_key' => 'attachment_del',
  1825. 'menu_short_name' => '素材删除',
  1826. 'menu_type' => '2',
  1827. 'icon' => '',
  1828. 'api_url' => 'sys/attachment/del',
  1829. 'router_path' => '',
  1830. 'view_path' => '',
  1831. 'methods' => 'delete',
  1832. 'sort' => '1',
  1833. 'status' => '1',
  1834. 'is_show' => '1',
  1835. ],
  1836. [
  1837. 'menu_name' => '分组添加',
  1838. 'menu_key' => 'attachment_category_add',
  1839. 'menu_short_name' => '分组添加',
  1840. 'menu_type' => '2',
  1841. 'icon' => '',
  1842. 'api_url' => 'sys/attachment/category',
  1843. 'router_path' => '',
  1844. 'view_path' => '',
  1845. 'methods' => 'post',
  1846. 'sort' => '1',
  1847. 'status' => '1',
  1848. 'is_show' => '1',
  1849. ],
  1850. [
  1851. 'menu_name' => '分组编辑',
  1852. 'menu_key' => 'attachment_category_edit',
  1853. 'menu_short_name' => '分组编辑',
  1854. 'menu_type' => '2',
  1855. 'icon' => '',
  1856. 'api_url' => 'sys/attachment/category/<id>',
  1857. 'router_path' => '',
  1858. 'view_path' => '',
  1859. 'methods' => 'put',
  1860. 'sort' => '1',
  1861. 'status' => '1',
  1862. 'is_show' => '1',
  1863. ],
  1864. [
  1865. 'menu_name' => '分组删除',
  1866. 'menu_key' => 'attachment_category_del',
  1867. 'menu_short_name' => '分组删除',
  1868. 'menu_type' => '2',
  1869. 'icon' => '',
  1870. 'api_url' => 'sys/attachment/category/<id>',
  1871. 'router_path' => '',
  1872. 'view_path' => '',
  1873. 'methods' => 'delete',
  1874. 'sort' => '1',
  1875. 'status' => '1',
  1876. 'is_show' => '1',
  1877. ],
  1878. [
  1879. 'menu_name' => '附件图片上传',
  1880. 'menu_key' => 'attachment_image_upload',
  1881. 'menu_short_name' => '附件图片上传',
  1882. 'menu_type' => '2',
  1883. 'icon' => '',
  1884. 'api_url' => 'sys/image',
  1885. 'router_path' => '',
  1886. 'view_path' => '',
  1887. 'methods' => 'post',
  1888. 'sort' => '1',
  1889. 'status' => '1',
  1890. 'is_show' => '1',
  1891. ],
  1892. [
  1893. 'menu_name' => '附件视频上传',
  1894. 'menu_key' => 'attachment_video_upload',
  1895. 'menu_short_name' => '附件视频上传',
  1896. 'menu_type' => '2',
  1897. 'icon' => '',
  1898. 'api_url' => 'sys/video',
  1899. 'router_path' => '',
  1900. 'view_path' => '',
  1901. 'methods' => 'post',
  1902. 'sort' => '1',
  1903. 'status' => '1',
  1904. 'is_show' => '1',
  1905. ],
  1906. [
  1907. 'menu_name' => '附件上传',
  1908. 'menu_key' => 'attachment_document_upload',
  1909. 'menu_short_name' => '附件上传',
  1910. 'menu_type' => '2',
  1911. 'icon' => '',
  1912. 'api_url' => 'sys/document/<type>',
  1913. 'router_path' => '',
  1914. 'view_path' => '',
  1915. 'methods' => 'post',
  1916. 'sort' => '1',
  1917. 'status' => '1',
  1918. 'is_show' => '1',
  1919. ]
  1920. ]
  1921. ],
  1922. [
  1923. 'menu_name' => '海报管理',
  1924. 'menu_key' => 'poster_management',
  1925. 'menu_short_name' => '海报管理',
  1926. 'menu_type' => '1',
  1927. 'icon' => 'iconfont iconshangpintupianpc',
  1928. 'api_url' => 'poster',
  1929. 'router_path' => 'poster/list',
  1930. 'view_path' => 'poster/list',
  1931. 'methods' => 'get',
  1932. 'sort' => '50',
  1933. 'status' => '1',
  1934. 'is_show' => '1',
  1935. ],
  1936. [
  1937. 'menu_name' => '海报装修',
  1938. 'menu_key' => 'poster_decorate',
  1939. 'menu_short_name' => '海报装修',
  1940. 'menu_type' => '1',
  1941. 'icon' => '',
  1942. 'api_url' => 'poster/<id>',
  1943. 'router_path' => 'poster/edit',
  1944. 'view_path' => 'poster/edit',
  1945. 'methods' => 'put',
  1946. 'sort' => '0',
  1947. 'status' => '1',
  1948. 'is_show' => '0',
  1949. ]
  1950. ],
  1951. ],
  1952. [
  1953. 'menu_name' => '页面装修',
  1954. 'menu_key' => 'decorate',
  1955. 'menu_short_name' => '页面装修',
  1956. 'parent_key' => '',
  1957. 'menu_type' => '0',
  1958. 'icon' => '',
  1959. 'api_url' => '',
  1960. 'router_path' => '',
  1961. 'view_path' => '',
  1962. 'methods' => '',
  1963. 'sort' => '21',
  1964. 'status' => '1',
  1965. 'is_show' => '0',
  1966. 'children' => [
  1967. [
  1968. 'menu_name' => '装修',
  1969. 'menu_key' => 'page_decorate',
  1970. 'menu_short_name' => '装修',
  1971. 'menu_type' => '1',
  1972. 'icon' => '',
  1973. 'api_url' => 'diy/diy/<id>',
  1974. 'router_path' => 'decorate/edit',
  1975. 'view_path' => 'diy/edit',
  1976. 'methods' => 'put',
  1977. 'sort' => '0',
  1978. 'status' => '1',
  1979. 'is_show' => '0',
  1980. 'children' => [
  1981. [
  1982. 'menu_name' => '切换模板',
  1983. 'menu_key' => 'page_change_template',
  1984. 'menu_short_name' => '切换模板',
  1985. 'menu_type' => '2',
  1986. 'icon' => '',
  1987. 'api_url' => 'diy/change',
  1988. 'router_path' => '',
  1989. 'view_path' => '',
  1990. 'methods' => 'put',
  1991. 'sort' => '0',
  1992. 'status' => '1',
  1993. 'is_show' => '0',
  1994. ],
  1995. [
  1996. 'menu_name' => '设为使用',
  1997. 'menu_key' => 'page_set_use',
  1998. 'menu_short_name' => '设为使用',
  1999. 'menu_type' => '2',
  2000. 'icon' => '',
  2001. 'api_url' => 'diy/use',
  2002. 'router_path' => '',
  2003. 'view_path' => '',
  2004. 'methods' => 'put',
  2005. 'sort' => '0',
  2006. 'status' => '1',
  2007. 'is_show' => '0',
  2008. ],
  2009. ]
  2010. ],
  2011. ],
  2012. ],
  2013. [
  2014. 'menu_name' => '页面预览',
  2015. 'menu_key' => 'preview',
  2016. 'menu_short_name' => '页面预览',
  2017. 'parent_key' => '',
  2018. 'menu_type' => '0',
  2019. 'icon' => '',
  2020. 'api_url' => '',
  2021. 'router_path' => '',
  2022. 'view_path' => '',
  2023. 'methods' => 'get',
  2024. 'sort' => '0',
  2025. 'status' => '1',
  2026. 'is_show' => '0',
  2027. 'children' => [
  2028. [
  2029. 'menu_name' => '页面预览',
  2030. 'menu_key' => 'page_wap_preview',
  2031. 'menu_short_name' => '页面预览',
  2032. 'menu_type' => '1',
  2033. 'icon' => '',
  2034. 'api_url' => '',
  2035. 'router_path' => 'preview/wap',
  2036. 'view_path' => 'index/preview',
  2037. 'methods' => 'get',
  2038. 'sort' => '0',
  2039. 'status' => '1',
  2040. 'is_show' => '0',
  2041. ],
  2042. ],
  2043. ],
  2044. [
  2045. 'menu_name' => '系统设置',
  2046. 'menu_key' => 'setting_manage',
  2047. 'menu_short_name' => '设置',
  2048. 'parent_key' => '',
  2049. 'menu_type' => '0',
  2050. 'icon' => 'element Setting',
  2051. 'api_url' => '',
  2052. 'router_path' => '',
  2053. 'view_path' => '',
  2054. 'methods' => '',
  2055. 'sort' => '20',
  2056. 'status' => '1',
  2057. 'is_show' => '1',
  2058. 'children' => [
  2059. [
  2060. 'menu_name' => '网站设置',
  2061. 'menu_key' => 'website_setting',
  2062. 'menu_short_name' => '网站设置',
  2063. 'menu_type' => '0',
  2064. 'icon' => 'iconfont iconwangzhan1',
  2065. 'api_url' => '',
  2066. 'router_path' => '',
  2067. 'view_path' => '',
  2068. 'methods' => '',
  2069. 'sort' => '80',
  2070. 'status' => '1',
  2071. 'is_show' => '1',
  2072. 'children' => [
  2073. [
  2074. 'menu_name' => '基础设置',
  2075. 'menu_key' => 'base_setting',
  2076. 'menu_short_name' => '基础设置',
  2077. 'menu_type' => '1',
  2078. 'icon' => 'iconfont iconshangchengshezhi',
  2079. 'api_url' => 'sys/config/website',
  2080. 'router_path' => 'setting/website/system',
  2081. 'view_path' => 'setting/system',
  2082. 'methods' => 'get',
  2083. 'sort' => '100',
  2084. 'status' => '1',
  2085. 'is_show' => '1',
  2086. 'children' => [
  2087. [
  2088. 'menu_name' => '保存设置',
  2089. 'menu_key' => 'base_setting_set',
  2090. 'menu_short_name' => '保存设置',
  2091. 'menu_type' => '2',
  2092. 'icon' => '',
  2093. 'api_url' => 'sys/config/website',
  2094. 'router_path' => '',
  2095. 'view_path' => '',
  2096. 'methods' => 'put',
  2097. 'sort' => '100',
  2098. 'status' => '1',
  2099. 'is_show' => '1',
  2100. ],
  2101. ],
  2102. ],
  2103. [
  2104. 'menu_name' => '版权设置',
  2105. 'menu_key' => 'setting_copyright',
  2106. 'menu_short_name' => '版权设置',
  2107. 'menu_type' => '1',
  2108. 'icon' => 'iconfont iconbanquan1',
  2109. 'api_url' => 'sys/config/copyright',
  2110. 'router_path' => 'setting/website/copyright',
  2111. 'view_path' => 'setting/copyright',
  2112. 'methods' => 'get',
  2113. 'sort' => '90',
  2114. 'status' => '1',
  2115. 'is_show' => '1',
  2116. 'children' => [
  2117. [
  2118. 'menu_name' => '保存设置',
  2119. 'menu_key' => 'setting_copyright_set',
  2120. 'menu_short_name' => '保存设置',
  2121. 'menu_type' => '2',
  2122. 'icon' => '',
  2123. 'api_url' => 'sys/config/copyright',
  2124. 'router_path' => '',
  2125. 'view_path' => '',
  2126. 'methods' => 'put',
  2127. 'sort' => '100',
  2128. 'status' => '1',
  2129. 'is_show' => '1',
  2130. ],
  2131. ],
  2132. ],
  2133. [
  2134. 'menu_name' => '协议管理',
  2135. 'menu_key' => 'system_agreement',
  2136. 'menu_short_name' => '协议管理',
  2137. 'menu_type' => '1',
  2138. 'icon' => 'element Notebook',
  2139. 'api_url' => 'sys/agreement',
  2140. 'router_path' => 'setting/agreement',
  2141. 'view_path' => 'setting/agreement',
  2142. 'methods' => 'get',
  2143. 'sort' => '80',
  2144. 'status' => '1',
  2145. 'is_show' => '1',
  2146. ],
  2147. [
  2148. 'menu_name' => '协议编辑',
  2149. 'menu_key' => 'system_agreement_edit',
  2150. 'menu_short_name' => '协议编辑',
  2151. 'menu_type' => '1',
  2152. 'icon' => 'element Notebook',
  2153. 'api_url' => 'sys/agreement/<key>',
  2154. 'router_path' => 'setting/agreement/edit',
  2155. 'view_path' => 'setting/agreement_edit',
  2156. 'methods' => 'get',
  2157. 'sort' => '80',
  2158. 'status' => '1',
  2159. 'is_show' => '0',
  2160. 'children' => [
  2161. [
  2162. 'menu_name' => '协议编辑保存',
  2163. 'menu_key' => 'system_agreement_edit_set',
  2164. 'menu_short_name' => '协议编辑保存',
  2165. 'menu_type' => '2',
  2166. 'icon' => '',
  2167. 'api_url' => 'sys/agreement/<key>',
  2168. 'router_path' => '',
  2169. 'view_path' => '',
  2170. 'methods' => 'put',
  2171. 'sort' => '100',
  2172. 'status' => '1',
  2173. 'is_show' => '1',
  2174. ],
  2175. ],
  2176. ],
  2177. [
  2178. 'menu_name' => '登录设置',
  2179. 'menu_key' => 'setting_login',
  2180. 'menu_short_name' => '登录设置',
  2181. 'menu_type' => '1',
  2182. 'icon' => 'iconfont iconzhuceshezhi',
  2183. 'api_url' => 'sys/config/login',
  2184. 'router_path' => 'setting/adminlogin',
  2185. 'view_path' => 'setting/adminlogin',
  2186. 'methods' => 'get',
  2187. 'sort' => '20',
  2188. 'status' => '1',
  2189. 'is_show' => '1',
  2190. 'children' => [
  2191. [
  2192. 'menu_name' => '保存设置',
  2193. 'menu_key' => 'setting_login_set',
  2194. 'menu_short_name' => '保存设置',
  2195. 'menu_type' => '2',
  2196. 'icon' => '',
  2197. 'api_url' => 'sys/config/login',
  2198. 'router_path' => '',
  2199. 'view_path' => '',
  2200. 'methods' => 'put',
  2201. 'sort' => '100',
  2202. 'status' => '1',
  2203. 'is_show' => '1',
  2204. ],
  2205. ]
  2206. ],
  2207. ],
  2208. ],
  2209. [
  2210. 'menu_name' => '权限设置',
  2211. 'menu_key' => 'auth',
  2212. 'menu_short_name' => '权限设置',
  2213. 'menu_type' => '0',
  2214. 'icon' => 'iconfont iconquanxianguanli',
  2215. 'api_url' => '',
  2216. 'router_path' => '',
  2217. 'view_path' => '',
  2218. 'methods' => '',
  2219. 'sort' => '40',
  2220. 'status' => '1',
  2221. 'is_show' => '1',
  2222. 'children' => [
  2223. [
  2224. 'menu_name' => '管理员',
  2225. 'menu_key' => 'auth_list',
  2226. 'menu_short_name' => '管理员',
  2227. 'menu_type' => '1',
  2228. 'icon' => 'element Lock',
  2229. 'api_url' => '',
  2230. 'router_path' => 'setting/auth/user',
  2231. 'view_path' => 'auth/user',
  2232. 'methods' => '',
  2233. 'sort' => '100',
  2234. 'status' => '1',
  2235. 'is_show' => '1',
  2236. 'children' => [
  2237. [
  2238. 'menu_name' => '新增管理员',
  2239. 'menu_key' => 'auth_add',
  2240. 'menu_short_name' => '新增管理员',
  2241. 'menu_type' => '2',
  2242. 'icon' => '',
  2243. 'api_url' => 'sys/role',
  2244. 'router_path' => '',
  2245. 'view_path' => 'site/user',
  2246. 'methods' => 'post',
  2247. 'sort' => '1',
  2248. 'status' => '1',
  2249. 'is_show' => '1',
  2250. ],
  2251. [
  2252. 'menu_name' => '编辑管理员',
  2253. 'menu_key' => 'auth_update',
  2254. 'menu_short_name' => '编辑管理员',
  2255. 'menu_type' => '2',
  2256. 'icon' => '',
  2257. 'api_url' => 'site/user/<uid>',
  2258. 'router_path' => '',
  2259. 'view_path' => '',
  2260. 'methods' => 'put',
  2261. 'sort' => '1',
  2262. 'status' => '1',
  2263. 'is_show' => '1',
  2264. ],
  2265. [
  2266. 'menu_name' => '锁定管理员',
  2267. 'menu_key' => 'auth_lock',
  2268. 'menu_short_name' => '锁定管理员',
  2269. 'menu_type' => '2',
  2270. 'icon' => '',
  2271. 'api_url' => 'site/user/lock/<uid>',
  2272. 'router_path' => '',
  2273. 'view_path' => '',
  2274. 'methods' => 'put',
  2275. 'sort' => '1',
  2276. 'status' => '1',
  2277. 'is_show' => '1',
  2278. ],
  2279. [
  2280. 'menu_name' => '解锁管理员',
  2281. 'menu_key' => 'auth_unlock',
  2282. 'menu_short_name' => '解锁管理员',
  2283. 'menu_type' => '2',
  2284. 'icon' => '',
  2285. 'api_url' => 'site/user/unlock/<uid>',
  2286. 'router_path' => '',
  2287. 'view_path' => '',
  2288. 'methods' => 'put',
  2289. 'sort' => '1',
  2290. 'status' => '1',
  2291. 'is_show' => '1',
  2292. ],
  2293. ],
  2294. ],
  2295. [
  2296. 'menu_name' => '管理员角色',
  2297. 'menu_key' => 'auth_role',
  2298. 'menu_short_name' => '管理员角色',
  2299. 'menu_type' => '1',
  2300. 'icon' => 'iconfont iconhuiyuanliebiao',
  2301. 'api_url' => 'sys/role',
  2302. 'router_path' => 'setting/auth/role',
  2303. 'view_path' => 'auth/role',
  2304. 'methods' => 'get',
  2305. 'sort' => '70',
  2306. 'status' => '1',
  2307. 'is_show' => '1',
  2308. 'children' => [
  2309. [
  2310. 'menu_name' => '新增',
  2311. 'menu_key' => 'auth_role_add',
  2312. 'menu_short_name' => '新增',
  2313. 'menu_type' => '2',
  2314. 'icon' => '',
  2315. 'api_url' => 'sys/role',
  2316. 'router_path' => '',
  2317. 'view_path' => '',
  2318. 'methods' => 'post',
  2319. 'sort' => '1',
  2320. 'status' => '1',
  2321. 'is_show' => '1',
  2322. ],
  2323. [
  2324. 'menu_name' => '编辑',
  2325. 'menu_key' => 'auth_role_update',
  2326. 'menu_short_name' => '编辑',
  2327. 'menu_type' => '2',
  2328. 'icon' => '',
  2329. 'api_url' => 'sys/role/<role_id>',
  2330. 'router_path' => '',
  2331. 'view_path' => '',
  2332. 'methods' => 'put',
  2333. 'sort' => '1',
  2334. 'status' => '1',
  2335. 'is_show' => '1',
  2336. ],
  2337. [
  2338. 'menu_name' => '删除',
  2339. 'menu_key' => 'auth_role_del',
  2340. 'menu_short_name' => '删除',
  2341. 'menu_type' => '2',
  2342. 'icon' => '',
  2343. 'api_url' => 'sys/role/<role_id>',
  2344. 'router_path' => '',
  2345. 'view_path' => '',
  2346. 'methods' => 'delete',
  2347. 'sort' => '1',
  2348. 'status' => '1',
  2349. 'is_show' => '1',
  2350. ],
  2351. ],
  2352. ],
  2353. [
  2354. 'menu_name' => '操作日志',
  2355. 'menu_key' => 'auth_log',
  2356. 'menu_short_name' => '操作日志',
  2357. 'menu_type' => '1',
  2358. 'icon' => 'element Document',
  2359. 'api_url' => 'sys/log',
  2360. 'router_path' => 'setting/auth/log',
  2361. 'view_path' => 'auth/log',
  2362. 'methods' => 'get',
  2363. 'sort' => '60',
  2364. 'status' => '1',
  2365. 'is_show' => '1',
  2366. ],
  2367. ],
  2368. ],
  2369. [
  2370. 'menu_name' => '会员管理',
  2371. 'menu_key' => 'member_setting_manage',
  2372. 'menu_short_name' => '会员管理',
  2373. 'menu_type' => '0',
  2374. 'icon' => 'iconfont iconhuiyuanguanli',
  2375. 'api_url' => '',
  2376. 'router_path' => '',
  2377. 'view_path' => '',
  2378. 'methods' => '',
  2379. 'sort' => '9',
  2380. 'status' => '1',
  2381. 'is_show' => '1',
  2382. 'children' => [
  2383. [
  2384. 'menu_name' => '会员设置',
  2385. 'menu_key' => 'setting_member',
  2386. 'menu_short_name' => '会员设置',
  2387. 'menu_type' => '1',
  2388. 'icon' => 'iconfont iconhuiyuanxinxi',
  2389. 'api_url' => 'member/config/member',
  2390. 'router_path' => 'setting/member',
  2391. 'view_path' => 'setting/member',
  2392. 'methods' => 'get',
  2393. 'sort' => '71',
  2394. 'status' => '1',
  2395. 'is_show' => '1',
  2396. 'children' => [
  2397. [
  2398. 'menu_name' => '设置',
  2399. 'menu_key' => 'setting_member_set',
  2400. 'menu_short_name' => '设置',
  2401. 'menu_type' => '2',
  2402. 'icon' => '',
  2403. 'api_url' => 'member/config/member',
  2404. 'router_path' => '',
  2405. 'view_path' => '',
  2406. 'methods' => 'post',
  2407. 'sort' => '100',
  2408. 'status' => '1',
  2409. 'is_show' => '1',
  2410. ],
  2411. ]
  2412. ],
  2413. [
  2414. 'menu_name' => '注册登录',
  2415. 'menu_key' => 'setting_login_register',
  2416. 'menu_short_name' => '注册登录',
  2417. 'menu_type' => '1',
  2418. 'icon' => 'iconfont iconzhuceshezhi',
  2419. 'api_url' => 'member/config/login',
  2420. 'router_path' => 'setting/login',
  2421. 'view_path' => 'setting/login',
  2422. 'methods' => 'get',
  2423. 'sort' => '70',
  2424. 'status' => '1',
  2425. 'is_show' => '1',
  2426. 'children' => [
  2427. [
  2428. 'menu_name' => '注册登录设置',
  2429. 'menu_key' => 'setting_login_register_set',
  2430. 'menu_short_name' => '注册登录设置',
  2431. 'menu_type' => '2',
  2432. 'icon' => '',
  2433. 'api_url' => 'member/config/login',
  2434. 'router_path' => '',
  2435. 'view_path' => '',
  2436. 'methods' => 'post',
  2437. 'sort' => '100',
  2438. 'status' => '1',
  2439. 'is_show' => '1',
  2440. ],
  2441. ]
  2442. ],
  2443. ]
  2444. ],
  2445. [
  2446. 'menu_name' => '支付管理',
  2447. 'menu_key' => 'setting_pay',
  2448. 'menu_short_name' => '支付管理',
  2449. 'menu_type' => '1',
  2450. 'icon' => 'element Wallet',
  2451. 'api_url' => '',
  2452. 'router_path' => 'setting/pay',
  2453. 'view_path' => '',
  2454. 'methods' => 'get',
  2455. 'sort' => '60',
  2456. 'status' => '1',
  2457. 'is_show' => '1',
  2458. 'children' => [
  2459. [
  2460. 'menu_name' => '支付设置',
  2461. 'menu_key' => 'setting_pay_channel',
  2462. 'menu_short_name' => '支付设置',
  2463. 'menu_type' => '1',
  2464. 'icon' => 'iconfont iconzhifushezhi',
  2465. 'api_url' => 'pay/channel/lists',
  2466. 'router_path' => 'setting/pay/channel',
  2467. 'view_path' => 'setting/pay',
  2468. 'methods' => 'get',
  2469. 'sort' => '100',
  2470. 'status' => '1',
  2471. 'is_show' => '1',
  2472. 'children' => [
  2473. [
  2474. 'menu_name' => '设置',
  2475. 'menu_key' => 'setting_pay_channel_set',
  2476. 'menu_short_name' => '设置',
  2477. 'menu_type' => '2',
  2478. 'icon' => '',
  2479. 'api_url' => 'pay/channel/set/<channel>/<type>',
  2480. 'router_path' => '',
  2481. 'view_path' => '',
  2482. 'methods' => 'post',
  2483. 'sort' => '100',
  2484. 'status' => '1',
  2485. 'is_show' => '1',
  2486. ],
  2487. [
  2488. 'menu_name' => '保存全部',
  2489. 'menu_key' => 'setting_pay_channel_set_all',
  2490. 'menu_short_name' => '保存全部',
  2491. 'menu_type' => '2',
  2492. 'icon' => '',
  2493. 'api_url' => 'pay/channel/set/all',
  2494. 'router_path' => '',
  2495. 'view_path' => '',
  2496. 'methods' => 'post',
  2497. 'sort' => '100',
  2498. 'status' => '1',
  2499. 'is_show' => '1',
  2500. ],
  2501. ],
  2502. ],
  2503. [
  2504. 'menu_name' => '打款设置',
  2505. 'menu_key' => 'setting_pay_transfer',
  2506. 'menu_short_name' => '打款设置',
  2507. 'menu_type' => '1',
  2508. 'icon' => 'iconfont icondakuanshezhi',
  2509. 'api_url' => 'pay/channel/lists/<channel>',
  2510. 'router_path' => 'setting/pay/transfer',
  2511. 'view_path' => 'setting/transfer',
  2512. 'methods' => 'get',
  2513. 'sort' => '90',
  2514. 'status' => '1',
  2515. 'is_show' => '1',
  2516. 'children' => [
  2517. [
  2518. 'menu_name' => '设置',
  2519. 'menu_key' => 'setting_pay_transfer_set',
  2520. 'menu_short_name' => '设置',
  2521. 'menu_type' => '2',
  2522. 'icon' => '',
  2523. 'api_url' => 'pay/channel/set/transfer',
  2524. 'router_path' => '',
  2525. 'view_path' => '',
  2526. 'methods' => 'post',
  2527. 'sort' => '90',
  2528. 'status' => '1',
  2529. 'is_show' => '1',
  2530. ],
  2531. ],
  2532. ],
  2533. [
  2534. 'menu_name' => '提现设置',
  2535. 'menu_key' => 'cash_out_config',
  2536. 'menu_short_name' => '提现设置',
  2537. 'menu_type' => '1',
  2538. 'icon' => 'element Postcard',
  2539. 'api_url' => '',
  2540. 'router_path' => 'setting/cash_out',
  2541. 'view_path' => 'setting/cash_out',
  2542. 'methods' => '',
  2543. 'sort' => '59',
  2544. 'status' => '1',
  2545. 'is_show' => '1',
  2546. 'children' => [
  2547. [
  2548. 'menu_name' => '会员提现设置',
  2549. 'menu_key' => 'member_cash_out_config_set',
  2550. 'menu_short_name' => '会员提现设置',
  2551. 'menu_type' => '2',
  2552. 'icon' => '',
  2553. 'api_url' => 'member/config/cash_out',
  2554. 'router_path' => '',
  2555. 'view_path' => '',
  2556. 'methods' => 'post',
  2557. 'sort' => '90',
  2558. 'status' => '1',
  2559. 'is_show' => '1',
  2560. ],
  2561. [
  2562. 'menu_name' => '店铺提现设置',
  2563. 'menu_key' => 'shop_cash_out_config_set',
  2564. 'menu_short_name' => '店铺提现设置',
  2565. 'menu_type' => '2',
  2566. 'icon' => '',
  2567. 'api_url' => 'shop/admin/shop/config/cash_out',
  2568. 'router_path' => '',
  2569. 'view_path' => '',
  2570. 'methods' => 'post',
  2571. 'sort' => '97',
  2572. 'status' => '1',
  2573. 'is_show' => '1',
  2574. ],
  2575. ],
  2576. ],
  2577. [
  2578. 'menu_name' => '转账场景',
  2579. 'menu_key' => 'transfer_scene_config',
  2580. 'menu_short_name' => '转账场景',
  2581. 'menu_type' => '1',
  2582. 'icon' => 'nc-iconfont nc-icon-zhuanzhangV6xx-1',
  2583. 'api_url' => '',
  2584. 'router_path' => 'setting/transfer_scene',
  2585. 'view_path' => 'setting/transfer_scene',
  2586. 'methods' => 'get',
  2587. 'sort' => '59',
  2588. 'status' => '1',
  2589. 'is_show' => '1',
  2590. ],
  2591. ],
  2592. ],
  2593. [
  2594. 'menu_name' => '消息管理',
  2595. 'menu_key' => 'setting_notice',
  2596. 'menu_short_name' => '消息管理',
  2597. 'menu_type' => '1',
  2598. 'icon' => 'element ChatLineSquare',
  2599. 'api_url' => '',
  2600. 'router_path' => 'setting/notice',
  2601. 'view_path' => '',
  2602. 'methods' => '',
  2603. 'sort' => '50',
  2604. 'status' => '1',
  2605. 'is_show' => '1',
  2606. 'children' => [
  2607. [
  2608. 'menu_name' => '消息模板',
  2609. 'menu_key' => 'setting_notice_template',
  2610. 'menu_short_name' => '消息模板',
  2611. 'menu_type' => '1',
  2612. 'icon' => 'iconfont iconxiaoximoban',
  2613. 'api_url' => 'notice/notice',
  2614. 'router_path' => 'setting/notice/template',
  2615. 'view_path' => 'setting/notice',
  2616. 'methods' => 'get',
  2617. 'sort' => '10',
  2618. 'status' => '1',
  2619. 'is_show' => '1',
  2620. 'children' => [
  2621. [
  2622. 'menu_name' => '消息设置',
  2623. 'menu_key' => 'setting_notice_template_message_set',
  2624. 'menu_short_name' => '消息设置',
  2625. 'menu_type' => '2',
  2626. 'icon' => '',
  2627. 'api_url' => 'notice/notice/edit',
  2628. 'router_path' => '',
  2629. 'view_path' => '',
  2630. 'methods' => 'post',
  2631. 'sort' => '12',
  2632. 'status' => '1',
  2633. 'is_show' => '1',
  2634. ],
  2635. [
  2636. 'menu_name' => '消息启动与关闭',
  2637. 'menu_key' => 'setting_notice_template_status_set',
  2638. 'menu_short_name' => '消息启动与关闭',
  2639. 'menu_type' => '2',
  2640. 'icon' => '',
  2641. 'api_url' => 'notice/notice/editstatus',
  2642. 'router_path' => '',
  2643. 'view_path' => '',
  2644. 'methods' => 'post',
  2645. 'sort' => '12',
  2646. 'status' => '1',
  2647. 'is_show' => '1',
  2648. ],
  2649. ]
  2650. ],
  2651. [
  2652. 'menu_name' => '发送记录',
  2653. 'menu_key' => 'setting_notice_records',
  2654. 'menu_short_name' => '发送记录',
  2655. 'menu_type' => '1',
  2656. 'icon' => 'iconfont iconlishijilu',
  2657. 'api_url' => 'notice/notice/log',
  2658. 'router_path' => 'setting/notice/records',
  2659. 'view_path' => 'setting/notice_records',
  2660. 'methods' => 'get',
  2661. 'sort' => '9',
  2662. 'status' => '1',
  2663. 'is_show' => '1',
  2664. ],
  2665. ],
  2666. ],
  2667. [
  2668. 'menu_name' => '短信管理',
  2669. 'menu_key' => 'sms_notice',
  2670. 'menu_short_name' => '短信管理',
  2671. 'menu_type' => '0',
  2672. 'icon' => 'element Message',
  2673. 'api_url' => '',
  2674. 'router_path' => '',
  2675. 'view_path' => '',
  2676. 'methods' => '',
  2677. 'sort' => '40',
  2678. 'status' => '1',
  2679. 'is_show' => '1',
  2680. 'children' => [
  2681. [
  2682. 'menu_name' => '短信设置',
  2683. 'menu_key' => 'sms_setting',
  2684. 'menu_short_name' => '短信设置',
  2685. 'menu_type' => '1',
  2686. 'icon' => 'iconfont iconduanxinshezhi-1',
  2687. 'api_url' => 'notice/sms',
  2688. 'router_path' => 'setting/sms/setting',
  2689. 'view_path' => 'setting/sms',
  2690. 'methods' => 'get',
  2691. 'sort' => '12',
  2692. 'status' => '1',
  2693. 'is_show' => '1',
  2694. 'children' => [
  2695. [
  2696. 'menu_name' => '短信配置修改',
  2697. 'menu_key' => 'sms_setting_set',
  2698. 'menu_short_name' => '短信配置修改',
  2699. 'menu_type' => '2',
  2700. 'icon' => '',
  2701. 'api_url' => 'notice/notice/sms/<sms_type>',
  2702. 'router_path' => '',
  2703. 'view_path' => '',
  2704. 'methods' => 'put',
  2705. 'sort' => '12',
  2706. 'status' => '1',
  2707. 'is_show' => '1',
  2708. ],
  2709. ]
  2710. ],
  2711. [
  2712. 'menu_name' => '发送记录',
  2713. 'menu_key' => 'sms_notice_records',
  2714. 'menu_short_name' => '发送记录',
  2715. 'menu_type' => '1',
  2716. 'icon' => 'iconfont iconlishijilu',
  2717. 'api_url' => 'notice/sms/log',
  2718. 'router_path' => 'setting/sms/records',
  2719. 'view_path' => 'setting/sms_records',
  2720. 'methods' => 'get',
  2721. 'sort' => '11',
  2722. 'status' => '1',
  2723. 'is_show' => '1',
  2724. ],
  2725. ],
  2726. ],
  2727. [
  2728. 'menu_name' => '系统工具',
  2729. 'menu_key' => 'sys_tools',
  2730. 'menu_short_name' => '系统工具',
  2731. 'menu_type' => '0',
  2732. 'icon' => 'iconfont iconshezhiV6xx',
  2733. 'api_url' => '',
  2734. 'router_path' => '',
  2735. 'view_path' => '',
  2736. 'methods' => '',
  2737. 'sort' => '9',
  2738. 'status' => '1',
  2739. 'is_show' => '1',
  2740. 'children' => [
  2741. [
  2742. 'menu_name' => '存储设置',
  2743. 'menu_key' => 'setting_storage',
  2744. 'menu_short_name' => '存储设置',
  2745. 'menu_type' => '1',
  2746. 'icon' => 'element FolderChecked',
  2747. 'api_url' => 'sys/storage/<storage_type>',
  2748. 'router_path' => 'setting/storage',
  2749. 'view_path' => 'setting/storage',
  2750. 'methods' => 'get',
  2751. 'sort' => '30',
  2752. 'status' => '1',
  2753. 'is_show' => '1',
  2754. 'children' => [
  2755. [
  2756. 'menu_name' => '保存设置',
  2757. 'menu_key' => 'setting_storage_set',
  2758. 'menu_short_name' => '保存设置',
  2759. 'menu_type' => '2',
  2760. 'icon' => '',
  2761. 'api_url' => 'sys/storage/<storage_type>',
  2762. 'router_path' => '',
  2763. 'view_path' => '',
  2764. 'methods' => 'put',
  2765. 'sort' => '100',
  2766. 'status' => '1',
  2767. 'is_show' => '1',
  2768. ],
  2769. ],
  2770. ],
  2771. [
  2772. 'menu_name' => '地图秘钥',
  2773. 'menu_key' => 'map_setting',
  2774. 'menu_short_name' => '地图秘钥',
  2775. 'menu_type' => '1',
  2776. 'icon' => 'element Message',
  2777. 'api_url' => 'sys/config/map',
  2778. 'router_path' => 'setting/map',
  2779. 'view_path' => 'setting/map',
  2780. 'methods' => 'get',
  2781. 'sort' => '9',
  2782. 'status' => '1',
  2783. 'is_show' => '1',
  2784. 'children' => [
  2785. [
  2786. 'menu_name' => '保存设置',
  2787. 'menu_key' => 'map_setting_set',
  2788. 'menu_short_name' => '保存设置',
  2789. 'menu_type' => '2',
  2790. 'icon' => '',
  2791. 'api_url' => 'sys/config/map',
  2792. 'router_path' => '',
  2793. 'view_path' => '',
  2794. 'methods' => 'put',
  2795. 'sort' => '12',
  2796. 'status' => '1',
  2797. 'is_show' => '1',
  2798. ],
  2799. ]
  2800. ],
  2801. ]
  2802. ],
  2803. ],
  2804. ],
  2805. [
  2806. 'menu_name' => '开发工具',
  2807. 'menu_key' => 'tool',
  2808. 'menu_short_name' => '开发',
  2809. 'parent_key' => '',
  2810. 'menu_type' => '0',
  2811. 'icon' => 'iconfont iconkaifashezhi',
  2812. 'api_url' => '',
  2813. 'router_path' => '',
  2814. 'view_path' => '',
  2815. 'methods' => '',
  2816. 'sort' => '10',
  2817. 'status' => '1',
  2818. 'is_show' => '1',
  2819. 'children' => [
  2820. [
  2821. 'menu_name' => '插件管理',
  2822. 'menu_key' => 'app_manage_store',
  2823. 'menu_short_name' => '插件管理',
  2824. 'menu_type' => '1',
  2825. 'icon' => 'iconfont iconchajian1',
  2826. 'api_url' => '',
  2827. 'router_path' => 'app_manage/app_store',
  2828. 'view_path' => 'index/store',
  2829. 'methods' => 'get',
  2830. 'sort' => '10',
  2831. 'status' => '1',
  2832. 'is_show' => '1',
  2833. 'children' => [
  2834. [
  2835. 'menu_name' => '安装插件',
  2836. 'menu_key' => 'app_manage_store_install',
  2837. 'menu_short_name' => '安装插件',
  2838. 'menu_type' => '2',
  2839. 'icon' => '',
  2840. 'api_url' => 'addon/install/<addon>',
  2841. 'router_path' => '',
  2842. 'view_path' => '',
  2843. 'methods' => 'post',
  2844. 'sort' => '1',
  2845. 'status' => '1',
  2846. 'is_show' => '1',
  2847. ],
  2848. [
  2849. 'menu_name' => '云安装插件',
  2850. 'menu_key' => 'app_manage_store_install_cloud',
  2851. 'menu_short_name' => '云安装插件',
  2852. 'menu_type' => '2',
  2853. 'icon' => '',
  2854. 'api_url' => 'addon/cloudinstall/<addon>',
  2855. 'router_path' => '',
  2856. 'view_path' => '',
  2857. 'methods' => 'post',
  2858. 'sort' => '1',
  2859. 'status' => '1',
  2860. 'is_show' => '1',
  2861. ],
  2862. [
  2863. 'menu_name' => '下载插件',
  2864. 'menu_key' => 'app_manage_store_download',
  2865. 'menu_short_name' => '下载插件',
  2866. 'menu_type' => '2',
  2867. 'icon' => '',
  2868. 'api_url' => 'addon/download/<addon>',
  2869. 'router_path' => '',
  2870. 'view_path' => '',
  2871. 'methods' => 'post',
  2872. 'sort' => '1',
  2873. 'status' => '1',
  2874. 'is_show' => '1',
  2875. ],
  2876. [
  2877. 'menu_name' => '卸载插件',
  2878. 'menu_key' => 'app_manage_store_uninstall',
  2879. 'menu_short_name' => '卸载插件',
  2880. 'menu_type' => '2',
  2881. 'icon' => '',
  2882. 'api_url' => 'addon/uninstall/<addon>',
  2883. 'router_path' => '',
  2884. 'view_path' => '',
  2885. 'methods' => 'post',
  2886. 'sort' => '1',
  2887. 'status' => '1',
  2888. 'is_show' => '1',
  2889. ],
  2890. [
  2891. 'menu_name' => '取消安装任务',
  2892. 'menu_key' => 'app_manage_store_install_cancel',
  2893. 'menu_short_name' => '取消安装任务',
  2894. 'menu_type' => '2',
  2895. 'icon' => '',
  2896. 'api_url' => 'addon/install/cancel/<addon>',
  2897. 'router_path' => '',
  2898. 'view_path' => '',
  2899. 'methods' => 'post',
  2900. 'sort' => '1',
  2901. 'status' => '1',
  2902. 'is_show' => '1',
  2903. ],
  2904. ]
  2905. ],
  2906. [
  2907. 'menu_name' => '插件开发',
  2908. 'menu_key' => 'addon_develop',
  2909. 'menu_short_name' => '插件开发',
  2910. 'menu_type' => '1',
  2911. 'icon' => 'iconfont iconchajiankaifa',
  2912. 'api_url' => '',
  2913. 'router_path' => 'tools/addon',
  2914. 'view_path' => 'tools/addon/index',
  2915. 'methods' => '',
  2916. 'sort' => '110',
  2917. 'status' => '1',
  2918. 'is_show' => '1',
  2919. 'children' => [
  2920. [
  2921. 'menu_name' => '插件删除',
  2922. 'menu_key' => 'addon_delete',
  2923. 'menu_short_name' => '插件删除',
  2924. 'menu_type' => '2',
  2925. 'icon' => '',
  2926. 'api_url' => 'addon_develop/<key>',
  2927. 'router_path' => '',
  2928. 'view_path' => '',
  2929. 'methods' => 'delete',
  2930. 'sort' => '1',
  2931. 'status' => '1',
  2932. 'is_show' => '1',
  2933. ],
  2934. [
  2935. 'menu_name' => '插件打包',
  2936. 'menu_key' => 'addon_build',
  2937. 'menu_short_name' => '插件打包',
  2938. 'menu_type' => '2',
  2939. 'icon' => '',
  2940. 'api_url' => 'addon_develop/build/<key>',
  2941. 'router_path' => '',
  2942. 'view_path' => '',
  2943. 'methods' => 'post',
  2944. 'sort' => '1',
  2945. 'status' => '1',
  2946. 'is_show' => '1',
  2947. ],
  2948. [
  2949. 'menu_name' => '插件下载',
  2950. 'menu_key' => 'addon_download',
  2951. 'menu_short_name' => '插件下载',
  2952. 'menu_type' => '2',
  2953. 'icon' => '',
  2954. 'api_url' => 'addon_develop/download/<key>',
  2955. 'router_path' => '',
  2956. 'view_path' => '',
  2957. 'methods' => 'post',
  2958. 'sort' => '1',
  2959. 'status' => '1',
  2960. 'is_show' => '1',
  2961. ]
  2962. ]
  2963. ],
  2964. [
  2965. 'menu_name' => '代码生成',
  2966. 'menu_key' => 'code',
  2967. 'menu_short_name' => '代码生成',
  2968. 'menu_type' => '1',
  2969. 'icon' => 'iconfont icondaimashengcheng',
  2970. 'api_url' => 'generator/generator',
  2971. 'router_path' => 'tools/code',
  2972. 'view_path' => 'tools/code/index',
  2973. 'methods' => 'get',
  2974. 'sort' => '100',
  2975. 'status' => '1',
  2976. 'is_show' => '1',
  2977. 'children' => [
  2978. [
  2979. 'menu_name' => '添加代码生成',
  2980. 'menu_key' => 'code_add',
  2981. 'menu_short_name' => '添加代码生成',
  2982. 'menu_type' => '2',
  2983. 'icon' => '',
  2984. 'api_url' => 'generator/generator',
  2985. 'router_path' => '',
  2986. 'view_path' => '',
  2987. 'methods' => 'post',
  2988. 'sort' => '1',
  2989. 'status' => '1',
  2990. 'is_show' => '1',
  2991. ],
  2992. [
  2993. 'menu_name' => '删除代码生成',
  2994. 'menu_key' => 'code_delete',
  2995. 'menu_short_name' => '删除代码生成',
  2996. 'menu_type' => '2',
  2997. 'icon' => '',
  2998. 'api_url' => 'generator/generator/<id>',
  2999. 'router_path' => '',
  3000. 'view_path' => '',
  3001. 'methods' => 'delete',
  3002. 'sort' => '1',
  3003. 'status' => '1',
  3004. 'is_show' => '1',
  3005. ],
  3006. [
  3007. 'menu_name' => '代码生成',
  3008. 'menu_key' => 'code_create',
  3009. 'menu_short_name' => '代码生成',
  3010. 'menu_type' => '2',
  3011. 'icon' => '',
  3012. 'api_url' => 'generator/download',
  3013. 'router_path' => '',
  3014. 'view_path' => '',
  3015. 'methods' => 'post',
  3016. 'sort' => '1',
  3017. 'status' => '1',
  3018. 'is_show' => '1',
  3019. ]
  3020. ]
  3021. ],
  3022. [
  3023. 'menu_name' => '编辑代码生成',
  3024. 'menu_key' => 'code_edit',
  3025. 'menu_short_name' => '编辑代码生成',
  3026. 'menu_type' => '1',
  3027. 'icon' => '',
  3028. 'api_url' => 'generator/generator/<id>',
  3029. 'router_path' => 'tools/code/edit',
  3030. 'view_path' => 'tools/code/edit',
  3031. 'methods' => 'put',
  3032. 'sort' => '99',
  3033. 'status' => '1',
  3034. 'is_show' => '0',
  3035. ],
  3036. [
  3037. 'menu_name' => '插件添加/编辑',
  3038. 'menu_key' => 'addon_add_edit',
  3039. 'menu_short_name' => '插件添加/编辑',
  3040. 'menu_type' => '1',
  3041. 'icon' => '',
  3042. 'api_url' => '',
  3043. 'router_path' => 'tools/addon_edit',
  3044. 'view_path' => 'tools/addon/edit',
  3045. 'methods' => 'get',
  3046. 'sort' => '90',
  3047. 'status' => '1',
  3048. 'is_show' => '0',
  3049. 'children' => [
  3050. [
  3051. 'menu_name' => '插件添加',
  3052. 'menu_key' => 'addon_add',
  3053. 'menu_short_name' => '插件添加',
  3054. 'menu_type' => '2',
  3055. 'icon' => '',
  3056. 'api_url' => 'addon_develop/<key>',
  3057. 'router_path' => '',
  3058. 'view_path' => '',
  3059. 'methods' => 'post',
  3060. 'sort' => '1',
  3061. 'status' => '1',
  3062. 'is_show' => '1',
  3063. ],
  3064. [
  3065. 'menu_name' => '插件编辑',
  3066. 'menu_key' => 'addon_edit',
  3067. 'menu_short_name' => '插件编辑',
  3068. 'menu_type' => '2',
  3069. 'icon' => '',
  3070. 'api_url' => 'addon_develop/<key>',
  3071. 'router_path' => '',
  3072. 'view_path' => '',
  3073. 'methods' => 'put',
  3074. 'sort' => '1',
  3075. 'status' => '1',
  3076. 'is_show' => '1',
  3077. ]
  3078. ]
  3079. ],
  3080. [
  3081. 'menu_name' => '数据字典',
  3082. 'menu_key' => 'sys_dict_dict_dict_list',
  3083. 'menu_short_name' => '数据字典',
  3084. 'menu_type' => '1',
  3085. 'icon' => 'iconfont iconwenzhangguanli1',
  3086. 'api_url' => 'dict/post/post',
  3087. 'router_path' => 'tools/list',
  3088. 'view_path' => 'dict/list',
  3089. 'methods' => 'get',
  3090. 'sort' => '90',
  3091. 'status' => '1',
  3092. 'is_show' => '1',
  3093. 'children' => [
  3094. [
  3095. 'menu_name' => '数据字典添加',
  3096. 'menu_key' => 'sys_dict_dict_dict_add',
  3097. 'menu_short_name' => '数据字典添加',
  3098. 'menu_type' => '2',
  3099. 'icon' => '',
  3100. 'api_url' => 'dict',
  3101. 'router_path' => 'edit',
  3102. 'view_path' => 'dict/edit',
  3103. 'methods' => 'post',
  3104. 'sort' => '4',
  3105. 'status' => '1',
  3106. 'is_show' => '1',
  3107. ],
  3108. [
  3109. 'menu_name' => '数据字典编辑',
  3110. 'menu_key' => 'sys_dict_dict_dict_edit',
  3111. 'menu_short_name' => '数据字典编辑',
  3112. 'menu_type' => '2',
  3113. 'icon' => '',
  3114. 'api_url' => 'dict/<id>',
  3115. 'router_path' => 'edit',
  3116. 'view_path' => 'dict/edit',
  3117. 'methods' => 'put',
  3118. 'sort' => '3',
  3119. 'status' => '1',
  3120. 'is_show' => '1',
  3121. ],
  3122. [
  3123. 'menu_name' => '数据字典删除',
  3124. 'menu_key' => 'sys_dict_dict_dict_delete',
  3125. 'menu_short_name' => '数据字典删除',
  3126. 'menu_type' => '2',
  3127. 'icon' => '',
  3128. 'api_url' => 'dict/<id>',
  3129. 'router_path' => '',
  3130. 'view_path' => '',
  3131. 'methods' => 'delete',
  3132. 'sort' => '2',
  3133. 'status' => '1',
  3134. 'is_show' => '1',
  3135. ],
  3136. [
  3137. 'menu_name' => '添加/编辑数据字典数据',
  3138. 'menu_key' => 'sys_dict_dict_data_add_edit',
  3139. 'menu_short_name' => '添加/编辑数据字典数据',
  3140. 'menu_type' => '2',
  3141. 'icon' => '',
  3142. 'api_url' => 'dictionary/<id>',
  3143. 'router_path' => '',
  3144. 'view_path' => '',
  3145. 'methods' => 'delete',
  3146. 'sort' => '2',
  3147. 'status' => '1',
  3148. 'is_show' => '1',
  3149. ],
  3150. ],
  3151. ],
  3152. [
  3153. 'menu_name' => '环境检测',
  3154. 'menu_key' => 'tools_check_environment',
  3155. 'menu_short_name' => '环境检测',
  3156. 'menu_type' => '1',
  3157. 'icon' => 'iconfont iconhuanjingjiance',
  3158. 'api_url' => '',
  3159. 'router_path' => 'tools/detection',
  3160. 'view_path' => 'tools/detection',
  3161. 'methods' => '',
  3162. 'sort' => '50',
  3163. 'status' => '1',
  3164. 'is_show' => '1',
  3165. ],
  3166. [
  3167. 'menu_name' => '用户信息修改',
  3168. 'menu_key' => 'platform_user_info_edit',
  3169. 'menu_short_name' => '用户信息修改',
  3170. 'menu_type' => '2',
  3171. 'icon' => '',
  3172. 'api_url' => 'auth/edit',
  3173. 'router_path' => '',
  3174. 'view_path' => '',
  3175. 'methods' => 'put',
  3176. 'sort' => '50',
  3177. 'status' => '1',
  3178. 'is_show' => '1',
  3179. ],
  3180. [
  3181. 'menu_name' => '平台菜单',
  3182. 'menu_key' => 'platform_menu',
  3183. 'menu_short_name' => '平台菜单',
  3184. 'menu_type' => '1',
  3185. 'icon' => 'iconfont iconcaidan',
  3186. 'api_url' => 'sys/menu',
  3187. 'router_path' => 'tools/admin_menu',
  3188. 'view_path' => 'auth/menu',
  3189. 'methods' => 'get',
  3190. 'sort' => '49',
  3191. 'status' => '1',
  3192. 'is_show' => '1',
  3193. 'children' => [
  3194. [
  3195. 'menu_name' => '新增',
  3196. 'menu_key' => 'auth_menu_add',
  3197. 'menu_short_name' => '新增',
  3198. 'menu_type' => '2',
  3199. 'icon' => '',
  3200. 'api_url' => 'sys/menu',
  3201. 'router_path' => '',
  3202. 'view_path' => '',
  3203. 'methods' => 'post',
  3204. 'sort' => '1',
  3205. 'status' => '1',
  3206. 'is_show' => '1',
  3207. ],
  3208. [
  3209. 'menu_name' => '编辑',
  3210. 'menu_key' => 'auth_menu_update',
  3211. 'menu_short_name' => '编辑',
  3212. 'menu_type' => '2',
  3213. 'icon' => '',
  3214. 'api_url' => 'sys/menu/<menu_key>',
  3215. 'router_path' => '',
  3216. 'view_path' => '',
  3217. 'methods' => 'put',
  3218. 'sort' => '1',
  3219. 'status' => '1',
  3220. 'is_show' => '1',
  3221. ],
  3222. [
  3223. 'menu_name' => '删除',
  3224. 'menu_key' => 'auth_menu_del',
  3225. 'menu_short_name' => '删除',
  3226. 'menu_type' => '2',
  3227. 'icon' => '',
  3228. 'api_url' => 'sys/menu',
  3229. 'router_path' => '',
  3230. 'view_path' => '',
  3231. 'methods' => 'delete',
  3232. 'sort' => '1',
  3233. 'status' => '1',
  3234. 'is_show' => '1',
  3235. ],
  3236. [
  3237. 'menu_name' => '详情',
  3238. 'menu_key' => 'auth_menu_info',
  3239. 'menu_short_name' => '详情',
  3240. 'menu_type' => '2',
  3241. 'icon' => '',
  3242. 'api_url' => 'sys/menu/<menu_key>',
  3243. 'router_path' => '',
  3244. 'view_path' => '',
  3245. 'methods' => 'get',
  3246. 'sort' => '0',
  3247. 'status' => '1',
  3248. 'is_show' => '1',
  3249. ],
  3250. ],
  3251. ],
  3252. [
  3253. 'menu_name' => '店铺菜单',
  3254. 'menu_key' => 'site_menu',
  3255. 'menu_short_name' => '店铺菜单',
  3256. 'menu_type' => '1',
  3257. 'icon' => 'iconfont icondianpucaidan',
  3258. 'api_url' => 'sys/menu',
  3259. 'router_path' => 'tools/site_menu',
  3260. 'view_path' => 'auth/site_menu',
  3261. 'methods' => 'get',
  3262. 'sort' => '48',
  3263. 'status' => '1',
  3264. 'is_show' => '1',
  3265. 'children' => [
  3266. [
  3267. 'menu_name' => '新增',
  3268. 'menu_key' => 'auth_site_menu_add',
  3269. 'menu_short_name' => '新增',
  3270. 'menu_type' => '2',
  3271. 'icon' => '',
  3272. 'api_url' => 'sys/menu',
  3273. 'router_path' => '',
  3274. 'view_path' => '',
  3275. 'methods' => 'post',
  3276. 'sort' => '1',
  3277. 'status' => '1',
  3278. 'is_show' => '1',
  3279. ],
  3280. [
  3281. 'menu_name' => '编辑',
  3282. 'menu_key' => 'auth_site_menu_update',
  3283. 'menu_short_name' => '编辑',
  3284. 'menu_type' => '2',
  3285. 'icon' => '',
  3286. 'api_url' => 'sys/menu/<menu_key>',
  3287. 'router_path' => '',
  3288. 'view_path' => '',
  3289. 'methods' => 'put',
  3290. 'sort' => '1',
  3291. 'status' => '1',
  3292. 'is_show' => '1',
  3293. ],
  3294. [
  3295. 'menu_name' => '删除',
  3296. 'menu_key' => 'auth_site_menu_del',
  3297. 'menu_short_name' => '删除',
  3298. 'menu_type' => '2',
  3299. 'icon' => '',
  3300. 'api_url' => 'sys/menu',
  3301. 'router_path' => '',
  3302. 'view_path' => '',
  3303. 'methods' => 'delete',
  3304. 'sort' => '1',
  3305. 'status' => '1',
  3306. 'is_show' => '1',
  3307. ],
  3308. [
  3309. 'menu_name' => '详情',
  3310. 'menu_key' => 'auth_site_menu_info',
  3311. 'menu_short_name' => '详情',
  3312. 'menu_type' => '2',
  3313. 'icon' => '',
  3314. 'api_url' => 'sys/menu/<menu_key>',
  3315. 'router_path' => '',
  3316. 'view_path' => '',
  3317. 'methods' => 'get',
  3318. 'sort' => '0',
  3319. 'status' => '1',
  3320. 'is_show' => '1',
  3321. ],
  3322. ],
  3323. ],
  3324. [
  3325. 'menu_name' => '计划任务',
  3326. 'menu_key' => 'tools_schedule',
  3327. 'menu_short_name' => '计划任务',
  3328. 'menu_type' => '1',
  3329. 'icon' => 'iconfont iconjihuarenwu',
  3330. 'api_url' => 'sys/schedule/list',
  3331. 'router_path' => 'tools/schedule',
  3332. 'view_path' => 'tools/schedule',
  3333. 'methods' => '',
  3334. 'sort' => '40',
  3335. 'status' => '1',
  3336. 'is_show' => '1',
  3337. 'children' => [
  3338. [
  3339. 'menu_name' => '新增',
  3340. 'menu_key' => 'schedule_add',
  3341. 'menu_short_name' => '新增',
  3342. 'menu_type' => '2',
  3343. 'icon' => '',
  3344. 'api_url' => 'sys/schedule',
  3345. 'router_path' => '',
  3346. 'view_path' => '',
  3347. 'methods' => 'post',
  3348. 'sort' => '4',
  3349. 'status' => '1',
  3350. 'is_show' => '1',
  3351. ],
  3352. [
  3353. 'menu_name' => '编辑',
  3354. 'menu_key' => 'schedule_update',
  3355. 'menu_short_name' => '编辑',
  3356. 'menu_type' => '2',
  3357. 'icon' => '',
  3358. 'api_url' => 'sys/schedule/<id>',
  3359. 'router_path' => '',
  3360. 'view_path' => '',
  3361. 'methods' => 'put',
  3362. 'sort' => '3',
  3363. 'status' => '1',
  3364. 'is_show' => '1',
  3365. ],
  3366. [
  3367. 'menu_name' => '设置状态',
  3368. 'menu_key' => 'schedule_set_status',
  3369. 'menu_short_name' => '设置状态',
  3370. 'menu_type' => '2',
  3371. 'icon' => '',
  3372. 'api_url' => 'schedule/modify/status/<id>',
  3373. 'router_path' => '',
  3374. 'view_path' => '',
  3375. 'methods' => 'put',
  3376. 'sort' => '2',
  3377. 'status' => '1',
  3378. 'is_show' => '1',
  3379. ],
  3380. [
  3381. 'menu_name' => '删除',
  3382. 'menu_key' => 'schedule_del',
  3383. 'menu_short_name' => '删除',
  3384. 'menu_type' => '2',
  3385. 'icon' => '',
  3386. 'api_url' => 'sys/schedule/<id>',
  3387. 'router_path' => '',
  3388. 'view_path' => '',
  3389. 'methods' => 'delete',
  3390. 'sort' => '1',
  3391. 'status' => '1',
  3392. 'is_show' => '1',
  3393. ],
  3394. ],
  3395. ],
  3396. [
  3397. 'menu_name' => '执行日志',
  3398. 'menu_key' => 'tools_schedule_log',
  3399. 'menu_short_name' => '执行日志',
  3400. 'menu_type' => '1',
  3401. 'icon' => 'iconfont iconjihuarenwu',
  3402. 'api_url' => 'sys/schedule/log/list',
  3403. 'router_path' => 'tools/schedule_log',
  3404. 'view_path' => 'tools/schedule_log',
  3405. 'methods' => '',
  3406. 'sort' => '100',
  3407. 'status' => '1',
  3408. 'is_show' => '0'
  3409. ],
  3410. [
  3411. 'menu_name' => '授权信息',
  3412. 'menu_key' => 'app_auth',
  3413. 'menu_short_name' => '授权信息',
  3414. 'menu_type' => '1',
  3415. 'icon' => 'iconfont iconshouquanxinxi2',
  3416. 'api_url' => 'niucloud/authinfo',
  3417. 'router_path' => 'tools/authorize',
  3418. 'view_path' => 'app/authorize',
  3419. 'methods' => 'get',
  3420. 'sort' => '30',
  3421. 'status' => '1',
  3422. 'is_show' => '1',
  3423. 'children' => [
  3424. [
  3425. 'menu_name' => '授权码认证',
  3426. 'menu_key' => 'app_auth_code',
  3427. 'menu_short_name' => '授权码认证',
  3428. 'menu_type' => '2',
  3429. 'icon' => '',
  3430. 'api_url' => 'niucloud/authinfo',
  3431. 'router_path' => '',
  3432. 'view_path' => '',
  3433. 'methods' => 'post',
  3434. 'sort' => '100',
  3435. 'status' => '1',
  3436. 'is_show' => '1',
  3437. ],
  3438. [
  3439. 'menu_name' => '检查更新',
  3440. 'menu_key' => 'app_auth_check_update',
  3441. 'menu_short_name' => '检查更新',
  3442. 'menu_type' => '2',
  3443. 'icon' => '',
  3444. 'api_url' => 'niucloud/addon/status/<version_id>',
  3445. 'router_path' => '',
  3446. 'view_path' => '',
  3447. 'methods' => 'put',
  3448. 'sort' => '100',
  3449. 'status' => '1',
  3450. 'is_show' => '1',
  3451. ],
  3452. [
  3453. 'menu_name' => '云编译',
  3454. 'menu_key' => 'app_auth_cloud_compile',
  3455. 'menu_short_name' => '云编译',
  3456. 'menu_type' => '2',
  3457. 'icon' => '',
  3458. 'api_url' => 'niucloud/build',
  3459. 'router_path' => '',
  3460. 'view_path' => '',
  3461. 'methods' => 'post',
  3462. 'sort' => '100',
  3463. 'status' => '1',
  3464. 'is_show' => '1',
  3465. ],
  3466. [
  3467. 'menu_name' => '清除编译任务',
  3468. 'menu_key' => 'app_auth_clear_cloud_compile_task',
  3469. 'menu_short_name' => '清除编译任务',
  3470. 'menu_type' => '2',
  3471. 'icon' => '',
  3472. 'api_url' => 'niucloud/build/clear',
  3473. 'router_path' => '',
  3474. 'view_path' => '',
  3475. 'methods' => 'post',
  3476. 'sort' => '100',
  3477. 'status' => '1',
  3478. 'is_show' => '1',
  3479. ],
  3480. ]
  3481. ],
  3482. [
  3483. 'menu_name' => '开发者key',
  3484. 'menu_key' => 'developer_token',
  3485. 'menu_short_name' => '开发者key',
  3486. 'menu_type' => '1',
  3487. 'icon' => 'iconfont iconkaifazheguanli',
  3488. 'api_url' => 'sys/config/developer_token',
  3489. 'router_path' => 'tools/developer_token',
  3490. 'view_path' => 'setting/developer_token',
  3491. 'methods' => 'get',
  3492. 'sort' => '20',
  3493. 'status' => '1',
  3494. 'is_show' => '1',
  3495. ],
  3496. ],
  3497. ],
  3498. [
  3499. 'menu_name' => '店铺管理',
  3500. 'menu_key' => 'shop_manage',
  3501. 'menu_short_name' => '店铺',
  3502. 'parent_key' => '',
  3503. 'menu_type' => '0',
  3504. 'icon' => 'element Memo',
  3505. 'api_url' => '',
  3506. 'router_path' => '',
  3507. 'view_path' => '',
  3508. 'methods' => '',
  3509. 'sort' => '50',
  3510. 'status' => '1',
  3511. 'is_show' => '1',
  3512. 'children' => [
  3513. [
  3514. 'menu_name' => '店铺列表',
  3515. 'menu_key' => 'shop_list',
  3516. 'menu_short_name' => '店铺列表',
  3517. 'menu_type' => '1',
  3518. 'icon' => 'iconfont icondianpuliebiao1',
  3519. 'api_url' => 'shop/admin/shop',
  3520. 'router_path' => 'shop/list',
  3521. 'view_path' => 'shop/admin/list',
  3522. 'methods' => 'get',
  3523. 'sort' => '100',
  3524. 'status' => '1',
  3525. 'is_show' => '1',
  3526. 'children' => [
  3527. [
  3528. 'menu_name' => '添加',
  3529. 'menu_key' => 'add_shop',
  3530. 'menu_short_name' => '添加店铺',
  3531. 'menu_type' => '2',
  3532. 'icon' => '',
  3533. 'api_url' => 'shop/admin/shop',
  3534. 'router_path' => '',
  3535. 'view_path' => '',
  3536. 'methods' => 'post',
  3537. 'sort' => '100',
  3538. 'status' => '1',
  3539. 'is_show' => '1',
  3540. ],
  3541. [
  3542. 'menu_name' => '编辑店铺',
  3543. 'menu_key' => 'edit_shop',
  3544. 'menu_short_name' => '编辑店铺',
  3545. 'menu_type' => '2',
  3546. 'icon' => '',
  3547. 'api_url' => 'shop/admin/shop/<id>',
  3548. 'router_path' => '',
  3549. 'view_path' => '',
  3550. 'methods' => 'put',
  3551. 'sort' => '100',
  3552. 'status' => '1',
  3553. 'is_show' => '1',
  3554. ],
  3555. [
  3556. 'menu_name' => '删除店铺',
  3557. 'menu_key' => 'delete_shop',
  3558. 'menu_short_name' => '删除店铺',
  3559. 'menu_type' => '2',
  3560. 'icon' => '',
  3561. 'api_url' => 'shop/admin/shop/<id>',
  3562. 'router_path' => '',
  3563. 'view_path' => '',
  3564. 'methods' => 'delete',
  3565. 'sort' => '100',
  3566. 'status' => '1',
  3567. 'is_show' => '1',
  3568. ],
  3569. [
  3570. 'menu_name' => '关闭店铺',
  3571. 'menu_key' => 'close_shop',
  3572. 'menu_short_name' => '关闭店铺',
  3573. 'menu_type' => '2',
  3574. 'icon' => '',
  3575. 'api_url' => 'shop/admin/shop/close/<id>',
  3576. 'router_path' => '',
  3577. 'view_path' => '',
  3578. 'methods' => 'put',
  3579. 'sort' => '100',
  3580. 'status' => '1',
  3581. 'is_show' => '1',
  3582. ],
  3583. [
  3584. 'menu_name' => '开启店铺',
  3585. 'menu_key' => 'open_shop',
  3586. 'menu_short_name' => '开启店铺',
  3587. 'menu_type' => '2',
  3588. 'icon' => '',
  3589. 'api_url' => 'shop/admin/shop/open/<id>',
  3590. 'router_path' => '',
  3591. 'view_path' => '',
  3592. 'methods' => 'put',
  3593. 'sort' => '100',
  3594. 'status' => '1',
  3595. 'is_show' => '1',
  3596. ],
  3597. [
  3598. 'menu_name' => '店铺账户信息修改',
  3599. 'menu_key' => 'edit_shop_account',
  3600. 'menu_short_name' => '店铺账户信息修改',
  3601. 'menu_type' => '2',
  3602. 'icon' => '',
  3603. 'api_url' => 'shop/admin/shop/account/<id>',
  3604. 'router_path' => '',
  3605. 'view_path' => '',
  3606. 'methods' => 'put',
  3607. 'sort' => '100',
  3608. 'status' => '1',
  3609. 'is_show' => '1',
  3610. ],
  3611. ],
  3612. ],
  3613. [
  3614. 'menu_name' => '店铺详情',
  3615. 'menu_key' => 'shop_info',
  3616. 'menu_short_name' => '店铺详情',
  3617. 'menu_type' => '1',
  3618. 'icon' => '',
  3619. 'api_url' => 'shop/admin/shop/<site_id>',
  3620. 'router_path' => 'shop/info',
  3621. 'view_path' => 'shop/admin/info',
  3622. 'methods' => 'get',
  3623. 'sort' => '90',
  3624. 'status' => '1',
  3625. 'is_show' => '0',
  3626. ],
  3627. [
  3628. 'menu_name' => '店铺套餐',
  3629. 'menu_key' => 'shop_group',
  3630. 'menu_short_name' => '店铺套餐',
  3631. 'menu_type' => '1',
  3632. 'icon' => 'iconfont icondianputaocan1',
  3633. 'api_url' => 'shop/admin/group',
  3634. 'router_path' => 'shop/group',
  3635. 'view_path' => 'shop/admin/group',
  3636. 'methods' => 'get',
  3637. 'sort' => '80',
  3638. 'status' => '1',
  3639. 'is_show' => '1',
  3640. 'children' => [
  3641. [
  3642. 'menu_name' => '店铺套餐删除',
  3643. 'menu_key' => 'shop_group_delete',
  3644. 'menu_short_name' => '店铺套餐删除',
  3645. 'menu_type' => '2',
  3646. 'icon' => '',
  3647. 'api_url' => 'shop/admin/shop_group/<group_id>',
  3648. 'router_path' => '',
  3649. 'view_path' => '',
  3650. 'methods' => 'delete',
  3651. 'sort' => '100',
  3652. 'status' => '1',
  3653. 'is_show' => '1',
  3654. ],
  3655. ]
  3656. ],
  3657. [
  3658. 'menu_name' => '店铺套餐添加/编辑',
  3659. 'menu_key' => 'shop_group_add_edit',
  3660. 'menu_short_name' => '店铺套餐添加/编辑',
  3661. 'menu_type' => '1',
  3662. 'icon' => 'element PriceTag',
  3663. 'api_url' => '',
  3664. 'router_path' => 'shop/group_edit',
  3665. 'view_path' => 'shop/admin/group_edit',
  3666. 'methods' => 'get',
  3667. 'sort' => '70',
  3668. 'status' => '1',
  3669. 'is_show' => '0',
  3670. 'children' => [
  3671. [
  3672. 'menu_name' => '店铺套餐添加',
  3673. 'menu_key' => 'shop_group_add',
  3674. 'menu_short_name' => '店铺套餐添加',
  3675. 'menu_type' => '2',
  3676. 'icon' => '',
  3677. 'api_url' => 'shop/admin/shop_group',
  3678. 'router_path' => '',
  3679. 'view_path' => '',
  3680. 'methods' => 'post',
  3681. 'sort' => '100',
  3682. 'status' => '1',
  3683. 'is_show' => '1',
  3684. ],
  3685. [
  3686. 'menu_name' => '店铺套餐编辑',
  3687. 'menu_key' => 'shop_group_edit',
  3688. 'menu_short_name' => '店铺套餐编辑',
  3689. 'menu_type' => '2',
  3690. 'icon' => '',
  3691. 'api_url' => 'shop/admin/shop_group/<group_id>',
  3692. 'router_path' => '',
  3693. 'view_path' => '',
  3694. 'methods' => 'put',
  3695. 'sort' => '100',
  3696. 'status' => '1',
  3697. 'is_show' => '1',
  3698. ],
  3699. ]
  3700. ],
  3701. [
  3702. 'menu_name' => '店铺分类',
  3703. 'menu_key' => 'shop_category',
  3704. 'menu_short_name' => '店铺分类',
  3705. 'menu_type' => '1',
  3706. 'icon' => 'iconfont icondianpufenlei1',
  3707. 'api_url' => 'shop/admin/category',
  3708. 'router_path' => 'shop/category',
  3709. 'view_path' => 'shop/admin/category',
  3710. 'methods' => 'get',
  3711. 'sort' => '80',
  3712. 'status' => '1',
  3713. 'is_show' => '1',
  3714. 'children' => [
  3715. [
  3716. 'menu_name' => '店铺分类删除',
  3717. 'menu_key' => 'shop_category_delete',
  3718. 'menu_short_name' => '店铺分类删除',
  3719. 'menu_type' => '2',
  3720. 'icon' => '',
  3721. 'api_url' => 'shop/admin/shop_category/<id>',
  3722. 'router_path' => '',
  3723. 'view_path' => '',
  3724. 'methods' => 'delete',
  3725. 'sort' => '100',
  3726. 'status' => '1',
  3727. 'is_show' => '1',
  3728. ],
  3729. ]
  3730. ],
  3731. [
  3732. 'menu_name' => '店铺分类添加/编辑',
  3733. 'menu_key' => 'shop_category_add_edit',
  3734. 'menu_short_name' => '店铺分类添加/编辑',
  3735. 'menu_type' => '1',
  3736. 'icon' => 'element PriceTag',
  3737. 'api_url' => '',
  3738. 'router_path' => 'shop/category_edit',
  3739. 'view_path' => 'shop/admin/category_edit',
  3740. 'methods' => 'get',
  3741. 'sort' => '70',
  3742. 'status' => '1',
  3743. 'is_show' => '0',
  3744. 'children' => [
  3745. [
  3746. 'menu_name' => '店铺分类添加',
  3747. 'menu_key' => 'shop_category_add',
  3748. 'menu_short_name' => '店铺分类添加',
  3749. 'menu_type' => '2',
  3750. 'icon' => '',
  3751. 'api_url' => 'shop/admin/shop_category',
  3752. 'router_path' => '',
  3753. 'view_path' => '',
  3754. 'methods' => 'post',
  3755. 'sort' => '100',
  3756. 'status' => '1',
  3757. 'is_show' => '1',
  3758. ],
  3759. [
  3760. 'menu_name' => '店铺分类编辑',
  3761. 'menu_key' => 'shop_category_edit',
  3762. 'menu_short_name' => '店铺分类编辑',
  3763. 'menu_type' => '2',
  3764. 'icon' => '',
  3765. 'api_url' => 'shop/admin/shop_category/<id>',
  3766. 'router_path' => '',
  3767. 'view_path' => '',
  3768. 'methods' => 'put',
  3769. 'sort' => '100',
  3770. 'status' => '1',
  3771. 'is_show' => '1',
  3772. ],
  3773. ]
  3774. ],
  3775. [
  3776. 'menu_name' => '店铺用户',
  3777. 'menu_key' => 'shop_user_list',
  3778. 'menu_short_name' => '店铺用户',
  3779. 'menu_type' => '1',
  3780. 'icon' => 'iconfont icondianpuyonghu1',
  3781. 'api_url' => 'shop/admin/site/user',
  3782. 'router_path' => 'shop/user',
  3783. 'view_path' => 'shop/admin/user',
  3784. 'methods' => 'get',
  3785. 'sort' => '90',
  3786. 'status' => '1',
  3787. 'is_show' => '1',
  3788. ],
  3789. [
  3790. 'menu_name' => '用户详情',
  3791. 'menu_key' => 'shop_user_info',
  3792. 'menu_short_name' => '用户详情',
  3793. 'menu_type' => '1',
  3794. 'icon' => 'element OfficeBuilding',
  3795. 'api_url' => '',
  3796. 'router_path' => 'shop/user_info',
  3797. 'view_path' => 'shop/admin/user_info',
  3798. 'methods' => 'get',
  3799. 'sort' => '80',
  3800. 'status' => '1',
  3801. 'is_show' => '0',
  3802. ],
  3803. [
  3804. 'menu_name' => '店铺申请',
  3805. 'menu_key' => 'shop_apply',
  3806. 'menu_short_name' => '店铺申请',
  3807. 'menu_type' => '1',
  3808. 'icon' => 'iconfont icondianpushenqing1',
  3809. 'api_url' => 'shop/admin/apply',
  3810. 'router_path' => 'shop/apply',
  3811. 'view_path' => 'shop/admin/apply',
  3812. 'methods' => 'get',
  3813. 'sort' => '70',
  3814. 'status' => '1',
  3815. 'is_show' => '1',
  3816. 'children' => [
  3817. [
  3818. 'menu_name' => '删除店铺申请',
  3819. 'menu_key' => 'shop_apply_del',
  3820. 'menu_short_name' => '删除店铺申请',
  3821. 'menu_type' => '2',
  3822. 'icon' => '',
  3823. 'api_url' => 'shop/admin/shop_apply/<id>',
  3824. 'router_path' => '',
  3825. 'view_path' => '',
  3826. 'methods' => 'delete',
  3827. 'sort' => '100',
  3828. 'status' => '1',
  3829. 'is_show' => '1',
  3830. ],
  3831. [
  3832. 'menu_name' => '店铺申请审核',
  3833. 'menu_key' => 'shop_apply_audit',
  3834. 'menu_short_name' => '店铺申请审核',
  3835. 'menu_type' => '2',
  3836. 'icon' => '',
  3837. 'api_url' => 'shop/admin/shop_apply/verify/<id>',
  3838. 'router_path' => '',
  3839. 'view_path' => '',
  3840. 'methods' => 'put',
  3841. 'sort' => '100',
  3842. 'status' => '1',
  3843. 'is_show' => '1',
  3844. ],
  3845. ],
  3846. ],
  3847. [
  3848. 'menu_name' => '店铺申请详情',
  3849. 'menu_key' => 'shop_apply_info',
  3850. 'menu_short_name' => '店铺申请详情',
  3851. 'menu_type' => '1',
  3852. 'icon' => '',
  3853. 'api_url' => '',
  3854. 'router_path' => 'shop/apply_info',
  3855. 'view_path' => 'shop/admin/apply_info',
  3856. 'methods' => 'get',
  3857. 'sort' => '100',
  3858. 'status' => '1',
  3859. 'is_show' => '0',
  3860. ],
  3861. ],
  3862. ],
  3863. [
  3864. 'menu_name' => '数据导出',
  3865. 'menu_key' => 'setting_export',
  3866. 'menu_short_name' => '数据导出',
  3867. 'menu_type' => '0',
  3868. 'icon' => 'element Files',
  3869. 'api_url' => '',
  3870. 'router_path' => '',
  3871. 'view_path' => '',
  3872. 'methods' => '',
  3873. 'sort' => '0',
  3874. 'status' => '1',
  3875. 'is_show' => '1',
  3876. 'menu_attr' => 'shop_setting_export',
  3877. 'children' => [
  3878. [
  3879. 'menu_name' => '数据导出列表',
  3880. 'menu_key' => 'setting_export_list',
  3881. 'menu_short_name' => '数据导出列表',
  3882. 'menu_type' => '1',
  3883. 'icon' => 'iconfont iconshujudaochu',
  3884. 'api_url' => 'sys/export',
  3885. 'router_path' => 'setting/export',
  3886. 'view_path' => 'setting/export',
  3887. 'methods' => 'get',
  3888. 'sort' => '100',
  3889. 'status' => '1',
  3890. 'is_show' => '1',
  3891. 'menu_attr' => 'setting_export',
  3892. 'children' => [
  3893. [
  3894. 'menu_name' => '删除报表',
  3895. 'menu_key' => 'delete_export',
  3896. 'menu_short_name' => '删除报表',
  3897. 'menu_type' => '2',
  3898. 'icon' => '',
  3899. 'api_url' => 'sys/export/<id>',
  3900. 'router_path' => '',
  3901. 'view_path' => '',
  3902. 'methods' => 'delete',
  3903. 'sort' => '100',
  3904. 'status' => '1',
  3905. 'is_show' => '1',
  3906. 'menu_attr' => 'setting_export',
  3907. ]
  3908. ]
  3909. ]
  3910. ]
  3911. ],
  3912. ];