人人商城

frames.inc.php 38KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327
  1. <?php
  2. /**
  3. * [WeEngine System] Copyright (c) 2014 WE7.CC
  4. * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
  5. */
  6. defined('IN_IA') or exit('Access Denied');
  7. $we7_system_menu = array();
  8. $we7_system_menu['platform'] = array(
  9. 'title' => '平台',
  10. 'icon' => 'wi wi-platform',
  11. 'url' => url('account/display/platform'),
  12. 'section' => array(),
  13. );
  14. $we7_system_menu['account'] = array(
  15. 'title' => '公众号',
  16. 'icon' => 'wi wi-white-collar',
  17. 'url' => url('home/welcome/platform'),
  18. 'section' => array(
  19. 'platform' => array(
  20. 'title' => '增强功能',
  21. 'menu' => array(
  22. 'platform_reply' => array(
  23. 'title' => '自动回复',
  24. 'url' => url('platform/reply'),
  25. 'icon' => 'wi wi-reply',
  26. 'permission_name' => 'platform_reply',
  27. 'is_display' => array(
  28. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  29. ACCOUNT_TYPE_OFFCIAL_AUTH,
  30. ACCOUNT_TYPE_XZAPP_NORMAL,
  31. ACCOUNT_TYPE_XZAPP_AUTH,
  32. ),
  33. 'sub_permission' => array(
  34. 'platform_reply_keyword' => array(
  35. 'title' => '关键字自动回复',
  36. 'url' => url('platform/reply', array('m' => 'keyword')),
  37. 'permission_name' => 'platform_reply_keyword',
  38. 'active' => 'keyword',
  39. ),
  40. 'platform_reply_special' => array(
  41. 'title' => '非关键字自动回复',
  42. 'url' => url('platform/reply', array('m' => 'special')),
  43. 'permission_name' => 'platform_reply_special',
  44. 'active' => 'special',
  45. ),
  46. 'platform_reply_welcome' => array(
  47. 'title' => '首次访问自动回复',
  48. 'url' => url('platform/reply', array('m' => 'welcome')),
  49. 'permission_name' => 'platform_reply_welcome',
  50. 'active' => 'welcome',
  51. ),
  52. 'platform_reply_default' => array(
  53. 'title' => '默认回复',
  54. 'url' => url('platform/reply', array('m' => 'default')),
  55. 'permission_name' => 'platform_reply_default',
  56. 'active' => 'default',
  57. ),
  58. 'platform_reply_service' => array(
  59. 'title' => '常用服务',
  60. 'url' => url('platform/reply', array('m' => 'service')),
  61. 'permission_name' => 'platform_reply_service',
  62. 'active' => 'service',
  63. ),
  64. 'platform_reply_userapi' => array(
  65. 'title' => '自定义接口回复',
  66. 'url' => url('platform/reply', array('m' => 'userapi')),
  67. 'permission_name' => 'platform_reply_userapi',
  68. 'active' => 'userapi',
  69. 'is_display' => array(
  70. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  71. ACCOUNT_TYPE_OFFCIAL_AUTH,
  72. ),
  73. ),
  74. 'platform_reply_setting' => array(
  75. 'title' => '回复设置',
  76. 'url' => url('profile/reply-setting'),
  77. 'permission_name' => 'platform_reply_setting',
  78. 'is_display' => array(
  79. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  80. ACCOUNT_TYPE_OFFCIAL_AUTH,
  81. ),
  82. ),
  83. ),
  84. ),
  85. 'platform_menu' => array(
  86. 'title' => '自定义菜单',
  87. 'url' => url('platform/menu'),
  88. 'icon' => 'wi wi-custommenu',
  89. 'permission_name' => 'platform_menu',
  90. 'is_display' => array(
  91. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  92. ACCOUNT_TYPE_OFFCIAL_AUTH,
  93. ACCOUNT_TYPE_XZAPP_NORMAL,
  94. ACCOUNT_TYPE_XZAPP_AUTH,
  95. ),
  96. 'sub_permission' => array(
  97. 'platform_menu_default' => array(
  98. 'title' => '默认菜单',
  99. 'url' => url('platform/menu/post'),
  100. 'permission_name' => 'platform_menu_default',
  101. 'active' => 'post',
  102. ),
  103. 'platform_menu_conditional' => array(
  104. 'title' => '个性化菜单',
  105. 'url' => url('platform/menu/display', array('type' => MENU_CONDITIONAL)),
  106. 'permission_name' => 'platform_menu_conditional',
  107. 'active' => 'display',
  108. 'is_display' => array(
  109. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  110. ACCOUNT_TYPE_OFFCIAL_AUTH,
  111. ),
  112. ),
  113. ),
  114. ),
  115. 'platform_qr' => array(
  116. 'title' => '二维码/转化链接',
  117. 'url' => url('platform/qr'),
  118. 'icon' => 'wi wi-qrcode',
  119. 'permission_name' => 'platform_qr',
  120. 'is_display' => array(
  121. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  122. ACCOUNT_TYPE_OFFCIAL_AUTH,
  123. ),
  124. 'sub_permission' => array(
  125. 'platform_qr_qr' => array(
  126. 'title' => '二维码',
  127. 'url' => url('platform/qr/list'),
  128. 'permission_name' => 'platform_qr_qr',
  129. 'active' => 'list',
  130. ),
  131. 'platform_qr_statistics' => array(
  132. 'title' => '二维码扫描统计',
  133. 'url' => url('platform/qr/display'),
  134. 'permission_name' => 'platform_qr_statistics',
  135. 'active' => 'display',
  136. ),
  137. ),
  138. ),
  139. 'platform_masstask' => array(
  140. 'title' => '定时群发',
  141. 'url' => url('platform/mass'),
  142. 'icon' => 'wi wi-crontab',
  143. 'permission_name' => 'platform_masstask',
  144. 'is_display' => array(
  145. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  146. ACCOUNT_TYPE_OFFCIAL_AUTH,
  147. ACCOUNT_TYPE_XZAPP_NORMAL,
  148. ACCOUNT_TYPE_XZAPP_AUTH,
  149. ),
  150. 'sub_permission' => array(
  151. 'platform_masstask_post' => array(
  152. 'title' => '定时群发',
  153. 'url' => url('platform/mass/post'),
  154. 'permission_name' => 'platform_masstask_post',
  155. 'active' => 'post',
  156. ),
  157. 'platform_masstask_send' => array(
  158. 'title' => '群发记录',
  159. 'url' => url('platform/mass/send'),
  160. 'permission_name' => 'platform_masstask_send',
  161. 'active' => 'send',
  162. ),
  163. ),
  164. ),
  165. 'platform_material' => array(
  166. 'title' => '素材/编辑器',
  167. 'url' => url('platform/material'),
  168. 'icon' => 'wi wi-redact',
  169. 'permission_name' => 'platform_material',
  170. 'is_display' => array(
  171. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  172. ACCOUNT_TYPE_OFFCIAL_AUTH,
  173. ACCOUNT_TYPE_XZAPP_NORMAL,
  174. ACCOUNT_TYPE_XZAPP_AUTH,
  175. ),
  176. 'sub_permission' => array(
  177. 'platform_material_news' => array(
  178. 'title' => '图文',
  179. 'url' => url('platform/material', array('type' => 'news')),
  180. 'permission_name' => 'platform_material_news',
  181. 'active' => 'news',
  182. ),
  183. 'platform_material_image' => array(
  184. 'title' => '图片',
  185. 'url' => url('platform/material', array('type' => 'image')),
  186. 'permission_name' => 'platform_material_image',
  187. 'active' => 'image',
  188. ),
  189. 'platform_material_voice' => array(
  190. 'title' => '语音',
  191. 'url' => url('platform/material', array('type' => 'voice')),
  192. 'permission_name' => 'platform_material_voice',
  193. 'active' => 'voice',
  194. ),
  195. 'platform_material_video' => array(
  196. 'title' => '视频',
  197. 'url' => url('platform/material', array('type' => 'video')),
  198. 'permission_name' => 'platform_material_video',
  199. 'active' => 'video',
  200. 'is_display' => array(
  201. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  202. ACCOUNT_TYPE_OFFCIAL_AUTH,
  203. ),
  204. ),
  205. 'platform_material_delete' => array(
  206. 'title' => '删除',
  207. 'permission_name' => 'platform_material_delete',
  208. 'is_display' => false,
  209. ),
  210. ),
  211. ),
  212. 'platform_site' => array(
  213. 'title' => '微官网-文章',
  214. 'url' => url('site/multi'),
  215. 'icon' => 'wi wi-home',
  216. 'permission_name' => 'platform_site',
  217. 'is_display' => array(
  218. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  219. ACCOUNT_TYPE_OFFCIAL_AUTH,
  220. ),
  221. 'sub_permission' => array(
  222. 'platform_site_multi' => array(
  223. 'title' => '微官网',
  224. 'url' => url('site/multi/display'),
  225. 'permission_name' => 'platform_site_multi',
  226. 'active' => 'multi',
  227. ),
  228. 'platform_site_style' => array(
  229. 'title' => '微官网模板',
  230. 'url' => url('site/style/template'),
  231. 'permission_name' => 'platform_site_style',
  232. 'active' => 'style',
  233. ),
  234. 'platform_site_article' => array(
  235. 'title' => '文章管理',
  236. 'url' => url('site/article/display'),
  237. 'permission_name' => 'platform_site_article',
  238. 'active' => 'article',
  239. ),
  240. 'platform_site_category' => array(
  241. 'title' => '文章分类管理',
  242. 'url' => url('site/category/display'),
  243. 'permission_name' => 'platform_site_category',
  244. 'active' => 'category',
  245. ),
  246. ),
  247. ),
  248. ),
  249. ),
  250. 'platform_module' => array(
  251. 'title' => '应用模块',
  252. 'menu' => array(),
  253. 'is_display' => true,
  254. ),
  255. 'mc' => array(
  256. 'title' => '粉丝',
  257. 'menu' => array(
  258. 'mc_fans' => array(
  259. 'title' => '粉丝管理',
  260. 'url' => url('mc/fans'),
  261. 'icon' => 'wi wi-fansmanage',
  262. 'permission_name' => 'mc_fans',
  263. 'is_display' => array(
  264. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  265. ACCOUNT_TYPE_OFFCIAL_AUTH,
  266. ACCOUNT_TYPE_XZAPP_NORMAL,
  267. ACCOUNT_TYPE_XZAPP_AUTH,
  268. ),
  269. 'sub_permission' => array(
  270. 'mc_fans_display' => array(
  271. 'title' => '全部粉丝',
  272. 'url' => url('mc/fans/display'),
  273. 'permission_name' => 'mc_fans_display',
  274. 'active' => 'display',
  275. ),
  276. 'mc_fans_fans_sync_set' => array(
  277. 'title' => '粉丝同步设置',
  278. 'url' => url('mc/fans/fans_sync_set'),
  279. 'permission_name' => 'mc_fans_fans_sync_set',
  280. 'active' => 'fans_sync_set',
  281. ),
  282. ),
  283. ),
  284. 'mc_member' => array(
  285. 'title' => '会员管理',
  286. 'url' => url('mc/member', array('version_id' => $_GPC['version_id'])),
  287. 'icon' => 'wi wi-fans',
  288. 'permission_name' => 'mc_member',
  289. 'is_display' => array(
  290. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  291. ACCOUNT_TYPE_OFFCIAL_AUTH,
  292. ACCOUNT_TYPE_XZAPP_NORMAL,
  293. ACCOUNT_TYPE_XZAPP_AUTH,
  294. ACCOUNT_TYPE_WEBAPP_NORMAL,
  295. ),
  296. 'sub_permission' => array(
  297. 'mc_member_diaplsy' => array(
  298. 'title' => '会员管理',
  299. 'url' => url('mc/member/display'),
  300. 'permission_name' => 'mc_member_diaplsy',
  301. 'active' => 'display',
  302. ),
  303. 'mc_member_group' => array(
  304. 'title' => '会员组',
  305. 'url' => url('mc/group/display'),
  306. 'permission_name' => 'mc_member_group',
  307. 'active' => 'display',
  308. ),
  309. 'mc_member_uc' => array(
  310. 'title' => '会员中心',
  311. 'url' => url('site/editor/uc'),
  312. 'permission_name' => 'mc_member_uc',
  313. 'active' => 'uc',
  314. 'is_display' => array(
  315. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  316. ACCOUNT_TYPE_OFFCIAL_AUTH,
  317. ),
  318. ),
  319. 'mc_member_quickmenu' => array(
  320. 'title' => '快捷菜单',
  321. 'url' => url('site/editor/quickmenu'),
  322. 'permission_name' => 'mc_member_quickmenu',
  323. 'active' => 'quickmenu',
  324. 'is_display' => array(
  325. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  326. ACCOUNT_TYPE_OFFCIAL_AUTH,
  327. ),
  328. ),
  329. 'mc_member_register_seting' => array(
  330. 'title' => '注册设置',
  331. 'url' => url('mc/member/register_setting'),
  332. 'permission_name' => 'mc_member_register_seting',
  333. 'active' => 'register_setting',
  334. 'is_display' => array(
  335. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  336. ACCOUNT_TYPE_OFFCIAL_AUTH,
  337. ),
  338. ),
  339. 'mc_member_credit_setting' => array(
  340. 'title' => '积分设置',
  341. 'url' => url('mc/member/credit_setting'),
  342. 'permission_name' => 'mc_member_credit_setting',
  343. 'active' => 'credit_setting',
  344. ),
  345. 'mc_member_fields' => array(
  346. 'title' => '会员字段管理',
  347. 'url' => url('mc/fields/list'),
  348. 'permission_name' => 'mc_member_fields',
  349. 'active' => 'list',
  350. ),
  351. ),
  352. ),
  353. 'mc_message' => array(
  354. 'title' => '留言管理',
  355. 'url' => url('mc/message'),
  356. 'icon' => 'wi wi-message',
  357. 'permission_name' => 'mc_message',
  358. 'is_display' => array(
  359. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  360. ACCOUNT_TYPE_OFFCIAL_AUTH,
  361. ACCOUNT_TYPE_XZAPP_NORMAL,
  362. ACCOUNT_TYPE_XZAPP_AUTH,
  363. ),
  364. )
  365. ),
  366. ),
  367. 'profile' => array(
  368. 'title' => '配置',
  369. 'menu' => array(
  370. 'profile_setting' => array(
  371. 'title' => '参数配置',
  372. 'url' => url('profile/remote'),
  373. 'icon' => 'wi wi-parameter-setting',
  374. 'permission_name' => 'profile_setting',
  375. 'is_display' => array(
  376. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  377. ACCOUNT_TYPE_OFFCIAL_AUTH,
  378. ACCOUNT_TYPE_XZAPP_NORMAL,
  379. ACCOUNT_TYPE_XZAPP_AUTH,
  380. ),
  381. 'sub_permission' => array(
  382. 'profile_setting_remote' => array(
  383. 'title' => '远程附件',
  384. 'url' => url('profile/remote/display'),
  385. 'permission_name' => 'profile_setting_remote',
  386. 'active' => 'display',
  387. ),
  388. 'profile_setting_passport' => array(
  389. 'title' => '借用权限',
  390. 'url' => url('profile/passport/oauth'),
  391. 'permission_name' => 'profile_setting_passport',
  392. 'active' => 'oauth',
  393. 'is_display' => array(
  394. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  395. ACCOUNT_TYPE_OFFCIAL_AUTH,
  396. ),
  397. ),
  398. 'profile_setting_tplnotice' => array(
  399. 'title' => '微信通知设置',
  400. 'url' => url('profile/tplnotice/list'),
  401. 'permission_name' => 'profile_setting_tplnotice',
  402. 'active' => 'list',
  403. 'is_display' => array(
  404. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  405. ACCOUNT_TYPE_OFFCIAL_AUTH,
  406. ),
  407. ),
  408. 'profile_setting_notify' => array(
  409. 'title' => '邮件通知参数',
  410. 'url' => url('profile/notify/mail'),
  411. 'permission_name' => 'profile_setting_notify',
  412. 'active' => 'mail',
  413. 'is_display' => array(
  414. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  415. ACCOUNT_TYPE_OFFCIAL_AUTH,
  416. ),
  417. ),
  418. 'profile_setting_uc_setting' => array(
  419. 'title' => 'UC站点整合',
  420. 'url' => url('profile/common/uc_setting'),
  421. 'permission_name' => 'profile_setting_uc_setting',
  422. 'active' => 'uc_setting',
  423. 'is_display' => array(
  424. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  425. ACCOUNT_TYPE_OFFCIAL_AUTH,
  426. ),
  427. ),
  428. 'profile_setting_upload_file' => array(
  429. 'title' => '上传JS接口文件',
  430. 'url' => url('profile/common/upload_file'),
  431. 'permission_name' => 'profile_setting_upload_file',
  432. 'active' => 'upload_file',
  433. 'is_display' => array(
  434. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  435. ACCOUNT_TYPE_OFFCIAL_AUTH,
  436. ),
  437. ),
  438. ),
  439. ),
  440. 'profile_payment' => array(
  441. 'title' => '支付参数',
  442. 'url' => url('profile/payment'),
  443. 'icon' => 'wi wi-pay-setting',
  444. 'permission_name' => 'profile_payment',
  445. 'is_display' => array(
  446. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  447. ACCOUNT_TYPE_OFFCIAL_AUTH,
  448. ),
  449. 'sub_permission' => array(
  450. 'profile_payment_pay' => array(
  451. 'title' => '支付配置',
  452. 'url' => url('profile/payment'),
  453. 'permission_name' => 'profile_payment_pay',
  454. 'active' => 'payment',
  455. ),
  456. 'profile_payment_refund' => array(
  457. 'title' => '退款配置',
  458. 'url' => url('profile/refund/display'),
  459. 'permission_name' => 'profile_payment_refund',
  460. 'active' => 'refund',
  461. ),
  462. ),
  463. ),
  464. 'profile_app_module_link' => array(
  465. 'title' => "数据同步",
  466. 'url' => url('profile/module-link-uniacid'),
  467. 'is_display' => 1,
  468. 'icon' => 'wi wi-data-synchro',
  469. 'permission_name' => 'profile_app_module_link_uniacid',
  470. 'is_display' => array(
  471. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  472. ACCOUNT_TYPE_OFFCIAL_AUTH,
  473. ACCOUNT_TYPE_XZAPP_NORMAL,
  474. ACCOUNT_TYPE_XZAPP_AUTH,
  475. ),
  476. ),
  477. 'profile_bind_domain' => array(
  478. 'title' => '域名绑定',
  479. 'url' => url('profile/bind-domain'),
  480. 'icon' => 'wi wi-bind-domain',
  481. 'permission_name' => 'profile_bind_domain',
  482. 'is_display' => array(
  483. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  484. ACCOUNT_TYPE_OFFCIAL_AUTH,
  485. ACCOUNT_TYPE_XZAPP_NORMAL,
  486. ACCOUNT_TYPE_XZAPP_AUTH,
  487. ),
  488. ),
  489. 'webapp_module_link' => array(
  490. 'title' => "数据同步",
  491. 'url' => url('webapp/module-link-uniacid'),
  492. 'is_display' => 1,
  493. 'icon' => 'wi wi-data-synchro',
  494. 'permission_name' => 'webapp_module_link',
  495. 'is_display' => array(
  496. ACCOUNT_TYPE_WEBAPP_NORMAL,
  497. ),
  498. ),
  499. 'webapp_rewrite' => array(
  500. 'title' => '伪静态',
  501. 'url' => url('webapp/rewrite'),
  502. 'icon' => 'wi wi-rewrite',
  503. 'permission_name' => 'webapp_rewrite',
  504. 'is_display' => array(
  505. ACCOUNT_TYPE_WEBAPP_NORMAL,
  506. ),
  507. ),
  508. 'webapp_bind_domain' => array(
  509. 'title' => '域名访问设置',
  510. 'url' => url('webapp/bind-domain'),
  511. 'icon' => 'wi wi-bind-domain',
  512. 'permission_name' => 'webapp_bind_domain',
  513. 'is_display' => array(
  514. ACCOUNT_TYPE_WEBAPP_NORMAL,
  515. ),
  516. ),
  517. ),
  518. ),
  519. 'statistics' => array(
  520. 'title' => '统计',
  521. 'menu' => array(
  522. 'statistics_visit' => array(
  523. 'title' => '访问统计',
  524. 'url' => url('statistics/app'),
  525. 'icon' => 'wi wi-statistical',
  526. 'permission_name' => 'statistics_visit',
  527. 'is_display' => array(
  528. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  529. ACCOUNT_TYPE_OFFCIAL_AUTH,
  530. ACCOUNT_TYPE_XZAPP_NORMAL,
  531. ACCOUNT_TYPE_XZAPP_AUTH,
  532. ACCOUNT_TYPE_WEBAPP_NORMAL,
  533. ),
  534. 'sub_permission' => array(
  535. 'statistics_visit_app' => array(
  536. 'title' => 'app端访问统计信息',
  537. 'url' => url('statistics/app/display'),
  538. 'permission_name' => 'statistics_visit_app',
  539. 'active' => 'app',
  540. ),
  541. 'statistics_visit_site' => array(
  542. 'title' => '所有用户访问统计',
  543. 'url' => url('statistics/site/current_account'),
  544. 'permission_name' => 'statistics_visit_site',
  545. 'active' => 'site',
  546. ),
  547. 'statistics_visit_setting' => array(
  548. 'title' => '访问统计设置',
  549. 'url' => url('statistics/setting/display'),
  550. 'permission_name' => 'statistics_visit_setting',
  551. 'active' => 'setting',
  552. ),
  553. ),
  554. ),
  555. 'statistics_fans' => array(
  556. 'title' => '用户统计',
  557. 'url' => url('statistics/fans'),
  558. 'icon' => 'wi wi-statistical',
  559. 'permission_name' => 'statistics_fans',
  560. 'is_display' => array(
  561. ACCOUNT_TYPE_OFFCIAL_NORMAL,
  562. ACCOUNT_TYPE_OFFCIAL_AUTH,
  563. ACCOUNT_TYPE_XZAPP_NORMAL,
  564. ACCOUNT_TYPE_XZAPP_AUTH,
  565. ),
  566. ),
  567. ),
  568. ),
  569. ),
  570. );
  571. $we7_system_menu['wxapp'] = array(
  572. 'title' => '微信小程序',
  573. 'icon' => 'wi wi-small-routine',
  574. 'url' => url('wxapp/display/home'),
  575. 'section' => array(
  576. 'wxapp_entrance' => array(
  577. 'title' => '小程序入口',
  578. 'menu' => array(
  579. 'module_entrance_link' => array(
  580. 'title' => "入口页面",
  581. 'url' => url('wxapp/entrance-link'),
  582. 'is_display' => array(
  583. ACCOUNT_TYPE_APP_NORMAL,
  584. ACCOUNT_TYPE_APP_AUTH,
  585. ACCOUNT_TYPE_WXAPP_WORK,
  586. ),
  587. 'icon' => 'wi wi-data-synchro',
  588. 'permission_name' => 'wxapp_entrance_link',
  589. ),
  590. ),
  591. ),
  592. 'platform_module' => array(
  593. 'title' => '应用',
  594. 'menu' => array(),
  595. 'is_display' => true,
  596. ),
  597. 'mc' => array(
  598. 'title' => '粉丝',
  599. 'menu' => array(
  600. 'mc_wxapp_member' => array(
  601. 'title' => '会员',
  602. 'url' => url('mc/member'),
  603. 'is_display' => array(
  604. ACCOUNT_TYPE_APP_NORMAL,
  605. ACCOUNT_TYPE_APP_AUTH,
  606. ACCOUNT_TYPE_WXAPP_WORK,
  607. ),
  608. 'icon' => 'wi wi-fans',
  609. 'permission_name' => 'mc_wxapp_member',
  610. 'sub_permission' => array(
  611. 'mc_member_diaplsy' => array(
  612. 'title' => '会员管理',
  613. 'url' => url('mc/member/display'),
  614. 'permission_name' => 'mc_member_diaplsy',
  615. 'active' => 'display',
  616. ),
  617. 'mc_member_group' => array(
  618. 'title' => '会员组',
  619. 'url' => url('mc/group/display'),
  620. 'permission_name' => 'mc_member_group',
  621. 'active' => 'display',
  622. ),
  623. 'mc_member_credit_setting' => array(
  624. 'title' => '积分设置',
  625. 'url' => url('mc/member/credit_setting'),
  626. 'permission_name' => 'mc_member_credit_setting',
  627. 'active' => 'credit_setting',
  628. ),
  629. 'mc_member_fields' => array(
  630. 'title' => '会员字段管理',
  631. 'url' => url('mc/fields/list'),
  632. 'permission_name' => 'mc_member_fields',
  633. 'active' => 'list',
  634. ),
  635. ),
  636. )
  637. ),
  638. ),
  639. 'wxapp_profile' => array(
  640. 'title' => '配置',
  641. 'menu' => array(
  642. 'wxapp_profile_module_link_uniacid' => array(
  643. 'title' => "数据同步",
  644. 'url' => url('wxapp/module-link-uniacid'),
  645. 'is_display' => array(
  646. ACCOUNT_TYPE_APP_NORMAL,
  647. ACCOUNT_TYPE_APP_AUTH,
  648. ACCOUNT_TYPE_WXAPP_WORK,
  649. ),
  650. 'icon' => 'wi wi-data-synchro',
  651. 'permission_name' => 'wxapp_profile_module_link_uniacid',
  652. ),
  653. 'wxapp_profile_payment' => array(
  654. 'title' => '支付参数',
  655. 'url' => url('wxapp/payment'),
  656. 'is_display' => array(
  657. ACCOUNT_TYPE_APP_NORMAL,
  658. ACCOUNT_TYPE_APP_AUTH,
  659. ACCOUNT_TYPE_WXAPP_WORK,
  660. ),
  661. 'icon' => 'wi wi-appsetting',
  662. 'permission_name' => 'wxapp_profile_payment',
  663. 'sub_permission' => array(
  664. 'wxapp_payment_pay' => array(
  665. 'title' => '支付参数',
  666. 'url' => url('wxapp/payment/display'),
  667. 'permission_name' => 'wxapp_payment_pay',
  668. 'active' => 'payment',
  669. ),
  670. 'wxapp_payment_refund' => array(
  671. 'title' => '退款配置',
  672. 'url' => url('wxapp/refund/display'),
  673. 'permission_name' => 'wxapp_payment_refund',
  674. 'active' => 'refund',
  675. ),
  676. ),
  677. ),
  678. 'wxapp_profile_front_download' => array(
  679. 'title' => '上传微信审核',
  680. 'url' => url('wxapp/front-download'),
  681. 'is_display' => 1,
  682. 'icon' => 'wi wi-examine',
  683. 'permission_name' => 'wxapp_profile_front_download',
  684. ),
  685. 'wxapp_profile_setting' => array(
  686. 'title' => '参数配置',
  687. 'url' => url('profile/remote'),
  688. 'is_display' => array(
  689. ACCOUNT_TYPE_APP_NORMAL,
  690. ACCOUNT_TYPE_APP_AUTH,
  691. ACCOUNT_TYPE_WXAPP_WORK,
  692. ),
  693. 'icon' => 'wi wi-parameter-setting',
  694. 'permission_name' => 'wxapp_profile_setting',
  695. ),
  696. 'wxapp_profile_platform_material' => array(
  697. 'title' => '素材管理',
  698. 'is_display' => 0,
  699. 'permission_name' => 'wxapp_profile_platform_material',
  700. 'sub_permission' => array(
  701. array(
  702. 'title' => '删除',
  703. 'permission_name' => 'wxapp_profile_platform_material_delete',
  704. ),
  705. ),
  706. ),
  707. )
  708. ),
  709. 'statistics' => array(
  710. 'title' => '统计',
  711. 'menu' => array(
  712. 'statistics_visit' => array(
  713. 'title' => '访问统计',
  714. 'url' => url('wxapp/statistics'),
  715. 'icon' => 'wi wi-statistical',
  716. 'permission_name' => 'statistics_visit_wxapp',
  717. 'is_display' => array(
  718. ACCOUNT_TYPE_APP_NORMAL,
  719. ACCOUNT_TYPE_APP_AUTH,
  720. ACCOUNT_TYPE_WXAPP_WORK,
  721. ),
  722. ),
  723. ),
  724. ),
  725. ),
  726. );
  727. $we7_system_menu['webapp'] = array(
  728. 'title' => 'PC',
  729. 'icon' => 'wi wi-pc',
  730. 'url' => url('webapp/home/display'),
  731. 'section' => array(),
  732. );
  733. $we7_system_menu['phoneapp'] = array(
  734. 'title' => 'APP',
  735. 'icon' => 'wi wi-white-collar',
  736. 'url' => url('phoneapp/display/home'),
  737. 'section' => array(
  738. 'platform_module' => array(
  739. 'title' => '应用',
  740. 'menu' => array(),
  741. 'is_display' => true,
  742. ),
  743. 'phoneapp_profile' => array(
  744. 'title' => '配置',
  745. 'menu' => array(
  746. 'front_download' => array(
  747. 'title' => '下载APP',
  748. 'url' => url('phoneapp/front-download'),
  749. 'is_display' => 1,
  750. 'icon' => 'wi wi-examine',
  751. 'permission_name' => 'phoneapp_front_download',
  752. )
  753. )
  754. )
  755. ),
  756. );
  757. $we7_system_menu['xzapp'] = array(
  758. 'title' => '熊掌号',
  759. 'icon' => 'wi wi-white-collar',
  760. 'url' => url('xzapp/home/display'),
  761. 'section' => array(
  762. 'platform_module' => array(
  763. 'title' => '应用模块',
  764. 'menu' => array(),
  765. 'is_display' => true,
  766. ),
  767. ),
  768. );
  769. $we7_system_menu['aliapp'] = array(
  770. 'title' => '支付宝小程序',
  771. 'icon' => 'wi wi-white-collar',
  772. 'url' => url('miniapp/display/home'),
  773. 'section' => array(
  774. 'platform_module' => array(
  775. 'title' => '应用',
  776. 'menu' => array(),
  777. 'is_display' => true,
  778. ),
  779. ),
  780. );
  781. $we7_system_menu['module'] = array(
  782. 'title' => '应用',
  783. 'icon' => 'wi wi-apply',
  784. 'url' => url('module/display'),
  785. 'section' => array(),
  786. );
  787. $we7_system_menu['system'] = array(
  788. 'title' => '系统',
  789. 'icon' => 'wi wi-setting',
  790. 'url' => url('home/welcome/system'),
  791. 'section' => array(
  792. 'wxplatform' => array(
  793. 'title' => '公众号',
  794. 'menu' => array(
  795. 'system_account' => array(
  796. 'title' => ' 微信公众号',
  797. 'url' => url('account/manage', array('account_type' => '1')),
  798. 'icon' => 'wi wi-wechat',
  799. 'permission_name' => 'system_account',
  800. 'sub_permission' => array(
  801. array(
  802. 'title' => '公众号管理设置',
  803. 'permission_name' => 'system_account_manage',
  804. ),
  805. array(
  806. 'title' => '添加公众号',
  807. 'permission_name' => 'system_account_post',
  808. ),
  809. array(
  810. 'title' => '公众号停用',
  811. 'permission_name' => 'system_account_stop',
  812. ),
  813. array(
  814. 'title' => '公众号回收站',
  815. 'permission_name' => 'system_account_recycle',
  816. ),
  817. array(
  818. 'title' => '公众号删除',
  819. 'permission_name' => 'system_account_delete',
  820. ),
  821. array(
  822. 'title' => '公众号恢复',
  823. 'permission_name' => 'system_account_recover',
  824. ),
  825. ),
  826. ),
  827. 'system_module' => array(
  828. 'title' => '公众号应用',
  829. 'url' => url('module/manage-system', array('support' => MODULE_SUPPORT_ACCOUNT_NAME)),
  830. 'icon' => 'wi wi-wx-apply',
  831. 'permission_name' => 'system_module',
  832. ),
  833. 'system_template' => array(
  834. 'title' => '微官网模板',
  835. 'url' => url('system/template'),
  836. 'icon' => 'wi wi-wx-template',
  837. 'permission_name' => 'system_template',
  838. ),
  839. 'system_platform' => array(
  840. 'title' => ' 微信开放平台',
  841. 'url' => url('system/platform'),
  842. 'icon' => 'wi wi-exploitsetting',
  843. 'permission_name' => 'system_platform',
  844. ),
  845. )
  846. ),
  847. 'module' => array(
  848. 'title' => '小程序',
  849. 'menu' => array(
  850. 'system_wxapp' => array(
  851. 'title' => '微信小程序',
  852. 'url' => url('account/manage', array('account_type' => '4')),
  853. 'icon' => 'wi wi-wxapp',
  854. 'permission_name' => 'system_wxapp',
  855. 'sub_permission' => array(
  856. array(
  857. 'title' => '小程序管理设置',
  858. 'permission_name' => 'system_wxapp_manage',
  859. ),
  860. array(
  861. 'title' => '添加小程序',
  862. 'permission_name' => 'system_wxapp_post',
  863. ),
  864. array(
  865. 'title' => '小程序停用',
  866. 'permission_name' => 'system_wxapp_stop',
  867. ),
  868. array(
  869. 'title' => '小程序回收站',
  870. 'permission_name' => 'system_wxapp_recycle',
  871. ),
  872. array(
  873. 'title' => '小程序删除',
  874. 'permission_name' => 'system_wxapp_delete',
  875. ),
  876. array(
  877. 'title' => '小程序恢复',
  878. 'permission_name' => 'system_wxapp_recover',
  879. ),
  880. ),
  881. ),
  882. 'system_module_wxapp' => array(
  883. 'title' => '小程序应用',
  884. 'url' => url('module/manage-system', array('support' => MODULE_SUPPORT_WXAPP_NAME)),
  885. 'icon' => 'wi wi-wxapp-apply',
  886. 'permission_name' => 'system_module_wxapp',
  887. ),
  888. )
  889. ),
  890. 'welcome' => array(
  891. 'title' => '系统首页',
  892. 'menu' => array(
  893. 'system_welcome' => array(
  894. 'title' => '系统首页应用',
  895. 'url' => url('module/manage-system', array('support' => MODULE_SUPPORT_SYSTEMWELCOME_NAME)),
  896. 'icon' => 'wi wi-wxapp',
  897. 'permission_name' => 'system_welcome',
  898. )
  899. ),
  900. 'founder' => true
  901. ),
  902. 'sys_webapp' => array(
  903. 'title' => 'PC',
  904. 'menu' => array(
  905. 'system_webapp' => array(
  906. 'title' => 'PC',
  907. 'url' => url('account/manage', array('account_type' => ACCOUNT_TYPE_WEBAPP_NORMAL)),
  908. 'icon' => 'wi wi-pc',
  909. 'permission_name' => 'system_webapp',
  910. 'sub_permission' => array(
  911. ),
  912. ),
  913. 'system_module_webapp' => array(
  914. 'title' => 'PC应用',
  915. 'url' => url('module/manage-system', array('support' => MODULE_SUPPORT_WEBAPP_NAME)),
  916. 'icon' => 'wi wi-pc-apply',
  917. 'permission_name' => 'system_module_webapp',
  918. ),
  919. )
  920. ),
  921. 'sys_phoneapp' => array(
  922. 'title' => 'APP',
  923. 'menu' => array(
  924. 'system_phoneapp' => array(
  925. 'title' => 'APP',
  926. 'url' => url('account/manage', array('account_type' => ACCOUNT_TYPE_PHONEAPP_NORMAL)),
  927. 'icon' => 'wi wi-app',
  928. 'permission_name' => 'system_phoneapp',
  929. 'sub_permission' => array(
  930. ),
  931. ),
  932. 'system_module_phoneapp' => array(
  933. 'title' => 'APP应用',
  934. 'url' => url('module/manage-system', array('support' => MODULE_SUPPORT_PHONEAPP_NAME)),
  935. 'icon' => 'wi wi-app-apply',
  936. 'permission_name' => 'system_module_phoneapp',
  937. ),
  938. )
  939. ),
  940. 'sys_xzapp' => array(
  941. 'title' => '熊掌号',
  942. 'menu' => array(
  943. 'system_xzapp' => array(
  944. 'title' => '熊掌号',
  945. 'url' => url('account/manage', array('account_type' => ACCOUNT_TYPE_XZAPP_NORMAL)),
  946. 'icon' => 'wi wi-xzapp',
  947. 'permission_name' => 'system_xzapp',
  948. 'sub_permission' => array(
  949. ),
  950. ),
  951. 'system_module_xzapp' => array(
  952. 'title' => '熊掌号应用',
  953. 'url' => url('module/manage-system', array('support' => MODULE_SUPPORT_XZAPP_NAME)),
  954. 'icon' => 'wi wi-xzapp-apply',
  955. 'permission_name' => 'system_module_xzapp',
  956. ),
  957. )
  958. ),
  959. 'sys_aliapp' => array(
  960. 'title' => '支付宝小程序',
  961. 'menu' => array(
  962. 'system_aliapp' => array(
  963. 'title' => '支付宝小程序',
  964. 'url' => url('account/manage', array('account_type' => ACCOUNT_TYPE_ALIAPP_NORMAL)),
  965. 'icon' => 'wi wi-aliapp',
  966. 'permission_name' => 'system_aliapp',
  967. 'sub_permission' => array(
  968. ),
  969. ),
  970. 'system_module_aliapp' => array(
  971. 'title' => '支付宝小程序应用',
  972. 'url' => url('module/manage-system', array('support' => MODULE_SUPPORT_ALIAPP_NAME)),
  973. 'icon' => 'wi wi-aliapp-apply',
  974. 'permission_name' => 'system_module_aliapp',
  975. ),
  976. )
  977. ),
  978. 'user' => array(
  979. 'title' => '帐户/用户',
  980. 'menu' => array(
  981. 'system_my' => array(
  982. 'title' => '我的帐户',
  983. 'url' => url('user/profile'),
  984. 'icon' => 'wi wi-user',
  985. 'permission_name' => 'system_my',
  986. ),
  987. 'system_user' => array(
  988. 'title' => '用户管理',
  989. 'url' => url('user/display'),
  990. 'icon' => 'wi wi-user-group',
  991. 'permission_name' => 'system_user',
  992. 'sub_permission' => array(
  993. array(
  994. 'title' => '编辑用户',
  995. 'permission_name' => 'system_user_post',
  996. ),
  997. array(
  998. 'title' => '审核用户',
  999. 'permission_name' => 'system_user_check',
  1000. ),
  1001. array(
  1002. 'title' => '店员管理',
  1003. 'permission_name' => 'system_user_clerk',
  1004. ),
  1005. array(
  1006. 'title' => '用户回收站',
  1007. 'permission_name' => 'system_user_recycle',
  1008. ),
  1009. array(
  1010. 'title' => '用户属性设置',
  1011. 'permission_name' => 'system_user_fields',
  1012. ),
  1013. array(
  1014. 'title' => '用户属性设置-编辑字段',
  1015. 'permission_name' => 'system_user_fields_post',
  1016. ),
  1017. array(
  1018. 'title' => '用户注册设置',
  1019. 'permission_name' => 'system_user_registerset',
  1020. ),
  1021. ),
  1022. ),
  1023. 'system_user_founder_group' => array(
  1024. 'title' => '副创始人组',
  1025. 'url' => url('founder/display'),
  1026. 'icon' =>'wi wi-co-founder',
  1027. 'permission_name' =>'system_founder_manage',
  1028. 'sub_permission' => array(
  1029. array(
  1030. 'title' => '添加创始人组',
  1031. 'permission_name' => 'system_founder_group_add',
  1032. ),
  1033. array(
  1034. 'title' => '编辑创始人组',
  1035. 'permission_name' => 'system_founder_group_post',
  1036. ),
  1037. array(
  1038. 'title' => '删除创始人组',
  1039. 'permission_name' => 'system_founder_group_del',
  1040. ),
  1041. array(
  1042. 'title' => '添加创始人',
  1043. 'permission_name' => 'system_founder_user_add',
  1044. ),
  1045. array(
  1046. 'title' => '编辑创始人',
  1047. 'permission_name' => 'system_founder_user_post',
  1048. ),
  1049. array(
  1050. 'title' => '删除创始人',
  1051. 'permission_name' => 'system_founder_user_del',
  1052. ),
  1053. ),
  1054. ),
  1055. )
  1056. ),
  1057. 'permission' => array(
  1058. 'title' => '权限管理',
  1059. 'menu' => array(
  1060. 'system_module_group' => array(
  1061. 'title' => '应用权限组',
  1062. 'url' => url('module/group'),
  1063. 'icon' => 'wi wi-appjurisdiction',
  1064. 'permission_name' => 'system_module_group',
  1065. 'sub_permission' => array(
  1066. array(
  1067. 'title' => '添加应用权限组',
  1068. 'permission_name' => 'system_module_group_add',
  1069. ),
  1070. array(
  1071. 'title' => '编辑应用权限组',
  1072. 'permission_name' => 'system_module_group_post',
  1073. ),
  1074. array(
  1075. 'title' => '删除应用权限组',
  1076. 'permission_name' => 'system_module_group_del',
  1077. ),
  1078. ),
  1079. ),
  1080. 'system_user_group' => array(
  1081. 'title' => '用户权限组',
  1082. 'url' => url('user/group'),
  1083. 'icon' => 'wi wi-userjurisdiction',
  1084. 'permission_name' => 'system_user_group',
  1085. 'sub_permission' => array(
  1086. array(
  1087. 'title' => '添加用户组',
  1088. 'permission_name' => 'system_user_group_add',
  1089. ),
  1090. array(
  1091. 'title' => '编辑用户组',
  1092. 'permission_name' => 'system_user_group_post',
  1093. ),
  1094. array(
  1095. 'title' => '删除用户组',
  1096. 'permission_name' => 'system_user_group_del',
  1097. ),
  1098. ),
  1099. ),
  1100. )
  1101. ),
  1102. 'article' => array(
  1103. 'title' => '文章/公告',
  1104. 'menu' => array(
  1105. 'system_article' => array(
  1106. 'title' => '文章公告',
  1107. 'url' => url('article/news'),
  1108. 'icon' => 'wi wi-article',
  1109. 'permission_name' => 'system_article',
  1110. 'sub_permission' => array(
  1111. array(
  1112. 'title' => '新闻列表 ',
  1113. 'permission_name' => 'system_article_news_list',
  1114. ),
  1115. array(
  1116. 'title' => '新闻分类 ',
  1117. 'permission_name' => 'system_article_news_category',
  1118. ),
  1119. array(
  1120. 'title' => '公告列表',
  1121. 'permission_name' => 'system_article_notice_list',
  1122. ),
  1123. array(
  1124. 'title' => '公告分类',
  1125. 'permission_name' => 'system_article_notice_category',
  1126. ),
  1127. ),
  1128. ),
  1129. )
  1130. ),
  1131. 'message' => array(
  1132. 'title' => '消息提醒',
  1133. 'menu' => array(
  1134. 'system_message_notice' => array(
  1135. 'title' => '消息提醒',
  1136. 'url' => url('message/notice'),
  1137. 'icon' => 'wi wi-bell',
  1138. 'permission_name' => 'system_message_notice',
  1139. )
  1140. )
  1141. ),
  1142. 'system_statistics' => array(
  1143. 'title' => '统计',
  1144. 'menu' => array(
  1145. 'system_account_analysis' => array(
  1146. 'title' => '访问统计',
  1147. 'url' => url('statistics/account'),
  1148. 'icon' => 'wi wi-statistical',
  1149. 'permission_name' => 'system_account_analysis',
  1150. ),
  1151. )
  1152. ),
  1153. 'cache' => array(
  1154. 'title' => '缓存',
  1155. 'menu' => array(
  1156. 'system_setting_updatecache' => array(
  1157. 'title' => '更新缓存',
  1158. 'url' => url('system/updatecache'),
  1159. 'icon' => 'wi wi-update',
  1160. 'permission_name' => 'system_setting_updatecache',
  1161. ),
  1162. ),
  1163. ),
  1164. ),
  1165. );
  1166. $we7_system_menu['site'] = array(
  1167. 'title' => '站点',
  1168. 'icon' => 'wi wi-system-site',
  1169. 'url' => url('system/site'),
  1170. 'section' => array(
  1171. 'setting' => array(
  1172. 'title' => '设置',
  1173. 'menu' => array(
  1174. 'system_setting_site' => array(
  1175. 'title' => '站点设置',
  1176. 'url' => url('system/site'),
  1177. 'icon' => 'wi wi-site-setting',
  1178. 'permission_name' => 'system_setting_site',
  1179. ),
  1180. 'system_setting_menu' => array(
  1181. 'title' => '菜单设置',
  1182. 'url' => url('system/menu'),
  1183. 'icon' => 'wi wi-menu-setting',
  1184. 'permission_name' => 'system_setting_menu',
  1185. ),
  1186. 'system_setting_attachment' => array(
  1187. 'title' => '附件设置',
  1188. 'url' => url('system/attachment'),
  1189. 'icon' => 'wi wi-attachment',
  1190. 'permission_name' => 'system_setting_attachment',
  1191. ),
  1192. 'system_setting_systeminfo' => array(
  1193. 'title' => '系统信息',
  1194. 'url' => url('system/systeminfo'),
  1195. 'icon' => 'wi wi-system-info',
  1196. 'permission_name' => 'system_setting_systeminfo',
  1197. ),
  1198. 'system_setting_logs' => array(
  1199. 'title' => '查看日志',
  1200. 'url' => url('system/logs'),
  1201. 'icon' => 'wi wi-log',
  1202. 'permission_name' => 'system_setting_logs',
  1203. ),
  1204. 'system_setting_ipwhitelist' => array(
  1205. 'title' => 'IP白名单',
  1206. 'url' => url('system/ipwhitelist'),
  1207. 'icon' => 'wi wi-ip',
  1208. 'permission_name' => 'system_setting_ipwhitelist',
  1209. ),
  1210. 'system_setting_sensitiveword' => array(
  1211. 'title' => '过滤敏感词',
  1212. 'url' => url('system/sensitiveword'),
  1213. 'icon' => 'wi wi-sensitive',
  1214. 'permission_name' => 'system_setting_sensitiveword',
  1215. ),
  1216. 'system_setting_thirdlogin' => array(
  1217. 'title' => '用户登录/注册设置',
  1218. 'url' => url('user/registerset'),
  1219. 'icon' => 'wi wi-user',
  1220. 'permission_name' => 'system_setting_thirdlogin',
  1221. ),
  1222. 'system_setting_oauth' => array(
  1223. 'title' => 'oauth全局设置',
  1224. 'url' => url('system/oauth'),
  1225. 'icon' => 'wi wi-oauth',
  1226. 'permission_name' => 'system_setting_oauth',
  1227. ),
  1228. )
  1229. ),
  1230. 'utility' => array(
  1231. 'title' => '常用工具',
  1232. 'menu' => array(
  1233. 'system_utility_filecheck' => array(
  1234. 'title' => '系统文件校验',
  1235. 'url' => url('system/filecheck'),
  1236. 'icon' => 'wi wi-file',
  1237. 'permission_name' => 'system_utility_filecheck',
  1238. ),
  1239. 'system_utility_optimize' => array(
  1240. 'title' => '性能优化',
  1241. 'url' => url('system/optimize'),
  1242. 'icon' => 'wi wi-optimize',
  1243. 'permission_name' => 'system_utility_optimize',
  1244. ),
  1245. 'system_utility_database' => array(
  1246. 'title' => '数据库',
  1247. 'url' => url('system/database'),
  1248. 'icon' => 'wi wi-sql',
  1249. 'permission_name' => 'system_utility_database',
  1250. ),
  1251. 'system_utility_scan' => array(
  1252. 'title' => '木马查杀',
  1253. 'url' => url('system/scan'),
  1254. 'icon' => 'wi wi-safety',
  1255. 'permission_name' => 'system_utility_scan',
  1256. ),
  1257. 'system_utility_bom' => array(
  1258. 'title' => '检测文件BOM',
  1259. 'url' => url('system/bom'),
  1260. 'icon' => 'wi wi-bom',
  1261. 'permission_name' => 'system_utility_bom',
  1262. ),
  1263. )
  1264. ),
  1265. 'backjob'=> array(
  1266. 'title' => '后台任务',
  1267. 'menu'=> array(
  1268. 'system_job'=> array(
  1269. 'title' => '后台任务',
  1270. 'url' => url('system/job/display'),
  1271. 'icon' => 'wi wi-job',
  1272. 'permission_name' => 'system_job',
  1273. )
  1274. )
  1275. )
  1276. ),
  1277. 'founder' => true,
  1278. );
  1279. $we7_system_menu['help'] = array(
  1280. 'title' => '系统帮助',
  1281. 'icon' => 'wi wi-market',
  1282. 'url' => url('help/display'),
  1283. 'section' => array(),
  1284. 'blank' => false,
  1285. );
  1286. $we7_system_menu['store'] = array(
  1287. 'title' => '商城',
  1288. 'icon' => 'wi wi-store',
  1289. 'url' => url('home/welcome/ext', array('m' => 'store')),
  1290. 'section' => array(),
  1291. );
  1292. return $we7_system_menu;