12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640 |
- <?php
- /**
- * [WeEngine System] Copyright (c) 2014 WE7.CC
- * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
- */
- defined('IN_IA') or exit('Access Denied');
- global $_W;
- $we7_system_menu = array();
- $we7_system_menu['welcome'] = array(
- 'title' => '首页',
- 'icon' => 'wi wi-home',
- 'url' => url('home/welcome/system', array('page' => 'home')),
- 'section' => array(),
- );
- $we7_system_menu['platform'] = array(
- 'title' => '平台入口',
- 'icon' => 'wi wi-platform',
- 'dimension' => 2,
- 'url' => url('account/display/platform'),
- 'section' => array(),
- );
- $we7_system_menu['module'] = array(
- 'title' => '应用入口',
- 'icon' => 'wi wi-apply',
- 'dimension' => 2,
- 'url' => url('module/display/switch_last_module'),
- 'section' => array(),
- );
- $we7_system_menu['account_manage'] = array(
- 'title' => '平台管理',
- 'icon' => 'wi wi-platform-manage',
- 'dimension' => 2,
- 'url' => url('account/manage'),
- 'section' => array(
- 'account_manage' => array(
- 'title' => '平台管理',
- 'menu' => array(
- 'account_manage_display' => array(
- 'title' => '平台列表',
- 'url' => url('account/manage'),
- 'permission_name' => 'account_manage_display',
- 'sub_permission' => array(
- array(
- 'title' => '帐号停用',
- 'permission_name' => 'account_manage_stop',
- ),
- ),
- ),
- 'account_manage_recycle' => array(
- 'title' => '回收站',
- 'url' => url('account/recycle'),
- 'permission_name' => 'account_manage_recycle',
- 'sub_permission' => array(
- array(
- 'title' => '帐号删除',
- 'permission_name' => 'account_manage_delete',
- ),
- array(
- 'title' => '帐号恢复',
- 'permission_name' => 'account_manage_recover',
- ),
- ),
- ),
- 'account_manage_system_platform' => array(
- 'title' => ' 微信开放平台',
- 'url' => url('system/platform'),
- 'permission_name' => 'account_manage_system_platform',
- ),
- 'account_manage_expired_message' => array(
- 'title' => ' 自定义到期提示',
- 'url' => url('account/expired-message'),
- 'permission_name' => 'account_manage_expired_message',
- ),
- ),
- ),
- ),
- );
- $we7_system_menu['module_manage'] = array(
- 'title' => '应用管理',
- 'icon' => 'wi wi-module-manage',
- 'dimension' => 2,
- 'url' => url('module/manage-system/installed'),
- 'section' => array(
- 'module_manage' => array(
- 'title' => '应用管理',
- 'menu' => array(
- 'module_manage_installed' => array(
- 'title' => '已安装列表',
- 'url' => url('module/manage-system/installed'),
- 'permission_name' => 'module_manage_installed',
- 'sub_permission' => array(),
- ),
- 'module_manage_stoped' => array(
- 'title' => '已停用列表',
- 'url' => url('module/manage-system/recycle', array('type' => MODULE_RECYCLE_INSTALL_DISABLED)),
- 'permission_name' => 'module_manage_stoped',
- 'sub_permission' => array(),
- ),
- 'module_manage_not_installed' => array(
- 'title' => '未安装列表',
- 'url' => url('module/manage-system/not_installed'),
- 'permission_name' => 'module_manage_not_installed',
- 'sub_permission' => array(),
- ),
- 'module_manage_recycle' => array(
- 'title' => '回收站',
- 'url' => url('module/manage-system/recycle', array('type' => MODULE_RECYCLE_UNINSTALL_IGNORE)),
- 'permission_name' => 'module_manage_recycle',
- 'sub_permission' => array(),
- ),
- 'module_manage_subscribe' => array(
- 'title' => '订阅管理',
- 'url' => url('module/manage-system/subscribe'),
- 'permission_name' => 'module_manage_subscribe',
- 'sub_permission' => array(),
- ),
- ),
- ),
- ),
- );
- $we7_system_menu['user_manage'] = array(
- 'title' => '用户管理',
- 'icon' => 'wi wi-user-group',
- 'dimension' => 2,
- 'url' => url('user/display'),
- 'section' => array(
- 'user_manage' => array(
- 'title' => '用户管理',
- 'menu' => array(
- 'user_manage_display' => array(
- 'title' => '普通用户',
- 'url' => url('user/display'),
- 'permission_name' => 'user_manage_display',
- 'sub_permission' => array(),
- ),
-
- 'user_manage_founder' => array(
- 'title' => '副站长',
- 'url' => url('founder/display'),
- 'permission_name' => 'user_manage_founder',
- 'sub_permission' => array(),
- 'founder' => true,
- ),
-
- 'user_manage_clerk' => array(
- 'title' => '店员管理',
- 'url' => url('user/display', array('type' => 'clerk')),
- 'permission_name' => 'user_manage_clerk',
- 'sub_permission' => array(),
- ),
- 'user_manage_check' => array(
- 'title' => '审核用户',
- 'url' => url('user/display', array('type' => 'check')),
- 'permission_name' => 'user_manage_check',
- 'sub_permission' => array(),
- ),
- 'user_manage_recycle' => array(
- 'title' => '回收站',
- 'url' => url('user/display', array('type' => 'recycle')),
- 'permission_name' => 'user_manage_recycle',
- 'sub_permission' => array(),
- ),
- 'user_manage_fields' => array(
- 'title' => '用户属性设置',
- 'url' => url('user/fields/display'),
- 'permission_name' => 'user_manage_fields',
- 'sub_permission' => array(),
- 'founder' => true,
- ),
- 'user_manage_expire' => array(
- 'title' => '用户过期设置',
- 'url' => url('user/expire'),
- 'permission_name' => 'user_manage_expire',
- 'sub_permission' => array(),
- 'founder' => true,
- ),
- ),
- ),
- ),
- );
- $we7_system_menu['permission'] = array(
- 'title' => '权限组',
- 'icon' => 'wi wi-userjurisdiction',
- 'dimension' => 2,
- 'url' => url('module/group'),
- 'section' => array(
- 'permission' => array(
- 'title' => '权限组',
- 'menu' => array(
- 'permission_module_group' => array(
- 'title' => '应用权限组',
- 'url' => url('module/group'),
- 'permission_name' => 'permission_module_group',
- 'sub_permission' => array(),
- ),
- 'permission_create_account_group' => array(
- 'title' => '账号权限组',
- 'url' => url('user/create-group'),
- 'permission_name' => 'permission_create_account_group',
- 'sub_permission' => array(),
- ),
- 'permission_user_group' => array(
- 'title' => '用户权限组合',
- 'url' => url('user/group'),
- 'permission_name' => 'permission_user_group',
- 'sub_permission' => array(),
- ),
-
- 'permission_founder_group' => array(
- 'title' => '副站长权限组合',
- 'url' => url('founder/group'),
- 'permission_name' => 'permission_founder_group',
- 'sub_permission' => array(),
- 'founder' => true,
- ),
-
- ),
- ),
- ),
- );
- $we7_system_menu['system'] = array(
- 'title' => '系统功能',
- 'icon' => 'wi wi-setting',
- 'dimension' => 3,
- 'url' => user_is_founder($_W['uid'], true) ? url('article/notice') : url('system/updatecache'),
- 'section' => array(
- 'article' => array(
- 'title' => '站内公告',
- 'menu' => array(
- 'system_article' => array(
- 'title' => '站内公告',
- 'url' => url('article/notice'),
- 'icon' => 'wi wi-article',
- 'permission_name' => 'system_article',
- 'sub_permission' => array(
- array(
- 'title' => '公告列表',
- 'permission_name' => 'system_article_notice_list',
- ),
- array(
- 'title' => '公告分类',
- 'permission_name' => 'system_article_notice_category',
- ),
- ),
- ),
- ),
- 'founder' => true
- ),
- 'system_template' => array(
- 'title' => '模板',
- 'menu' => array(
- 'system_template' => array(
- 'title' => '微官网模板',
- 'url' => url('system/template'),
- 'icon' => 'wi wi-wx-template',
- 'permission_name' => 'system_template',
- ),
- ),
- 'founder' => true
- ),
- /* 'sms' => array(
- 'title' => '短信',
- 'menu' => array(
- 'system_cloud_sms' => array(
- 'title' => '短信管理',
- 'url' => url('cloud/sms'),
- 'icon' => 'wi wi-sms',
- 'permission_name' => 'system_cloud_sms',
- ),
- 'system_cloud_sms_sign' => array(
- 'title' => '短信签名',
- 'url' => url('cloud/sms-sign'),
- 'icon' => 'wi wi-sms-sign',
- 'permission_name' => 'system_cloud_sms_sign',
- 'is_display' => false,
- ),
- 'system_sms_mass' => array(
- 'title' => '短信群发',
- 'url' => url('cloud/sms-mass'),
- 'icon' => 'wi wi-sms-sign',
- 'permission_name' => 'system_cloud_sms_mass',
- 'is_display' => false,
- )
- ),
- 'founder' => true
- ), */
-
- 'system_welcome' => array(
- 'title' => '系统首页',
- 'menu' => array(
- 'system_welcome' => array(
- 'title' => '系统首页应用',
- 'url' => url('module/manage-system', array('support' => MODULE_SUPPORT_SYSTEMWELCOME_NAME)),
- 'icon' => 'wi wi-system-welcome',
- 'permission_name' => 'system_welcome',
- ),
- 'system_news' => array(
- 'title' => '系统新闻',
- 'url' => url('article/news'),
- 'icon' => 'wi wi-article',
- 'permission_name' => 'system_news',
- 'sub_permission' => array(
- array(
- 'title' => '新闻列表 ',
- 'permission_name' => 'system_article_news_list',
- ),
- array(
- 'title' => '新闻分类 ',
- 'permission_name' => 'system_article_news_category',
- ),
- ),
- ),
- ),
- 'founder' => true
- ),
-
-
- 'system_statistics' => array(
- 'title' => '统计',
- 'menu' => array(
- 'system_account_analysis' => array(
- 'title' => '访问统计',
- 'url' => url('statistics/account'),
- 'icon' => 'wi wi-statistical',
- 'permission_name' => 'system_account_analysis',
- ),
- ),
- 'founder' => true
- ),
-
- 'cache' => array(
- 'title' => '缓存',
- 'menu' => array(
- 'system_setting_updatecache' => array(
- 'title' => '更新缓存',
- 'url' => url('system/updatecache'),
- 'icon' => 'wi wi-update',
- 'permission_name' => 'system_setting_updatecache',
- ),
- ),
- ),
- ),
- );
- $we7_system_menu['site'] = array(
- 'title' => '站点设置',
- 'icon' => 'wi wi-system-site',
- 'dimension' => 3,
- 'url' => url('system/site'),
- 'section' => array(
- /*'cloud' => array(
- 'title' => '云服务',
- 'menu' => array(
- 'system_profile' => array(
- 'title' => '系统升级',
- 'url' => url('cloud/upgrade'),
- 'icon' => 'wi wi-cache',
- 'permission_name' => 'system_cloud_upgrade',
- ),
- 'system_cloud_register' => array(
- 'title' => '注册站点',
- 'url' => url('cloud/profile'),
- 'icon' => 'wi wi-registersite',
- 'permission_name' => 'system_cloud_register',
- ),
- 'system_cloud_diagnose' => array(
- 'title' => '云服务诊断',
- 'url' => url('cloud/diagnose'),
- 'icon' => 'wi wi-diagnose',
- 'permission_name' => 'system_cloud_diagnose',
- ),
- )
- ),*/
- 'setting' => array(
- 'title' => '设置',
- 'menu' => array(
- 'system_setting_site' => array(
- 'title' => '站点设置',
- 'url' => url('system/site'),
- 'icon' => 'wi wi-site-setting',
- 'permission_name' => 'system_setting_site',
- ),
- 'system_setting_menu' => array(
- 'title' => '菜单设置',
- 'url' => url('system/menu'),
- 'icon' => 'wi wi-menu-setting',
- 'permission_name' => 'system_setting_menu',
- ),
- 'system_setting_attachment' => array(
- 'title' => '附件设置',
- 'url' => url('system/attachment'),
- 'icon' => 'wi wi-attachment',
- 'permission_name' => 'system_setting_attachment',
- ),
- 'system_setting_systeminfo' => array(
- 'title' => '系统信息',
- 'url' => url('system/systeminfo'),
- 'icon' => 'wi wi-system-info',
- 'permission_name' => 'system_setting_systeminfo',
- ),
- 'system_setting_logs' => array(
- 'title' => '查看日志',
- 'url' => url('system/logs'),
- 'icon' => 'wi wi-log',
- 'permission_name' => 'system_setting_logs',
- ),
- 'system_setting_ipwhitelist' => array(
- 'title' => 'IP白名单',
- 'url' => url('system/ipwhitelist'),
- 'icon' => 'wi wi-ip',
- 'permission_name' => 'system_setting_ipwhitelist',
- ),
- 'system_setting_sensitiveword' => array(
- 'title' => '过滤敏感词',
- 'url' => url('system/sensitiveword'),
- 'icon' => 'wi wi-sensitive',
- 'permission_name' => 'system_setting_sensitiveword',
- ),
- 'system_setting_thirdlogin' => array(
- 'title' => '用户登录/注册设置',
- 'url' => url('user/registerset'),
- 'icon' => 'wi wi-user',
- 'permission_name' => 'system_setting_thirdlogin',
- ),
- 'system_setting_oauth' => array(
- 'title' => '全局借用权限',
- 'url' => url('system/oauth'),
- 'icon' => 'wi wi-oauth',
- 'permission_name' => 'system_setting_oauth',
- ),
- )
- ),
- 'utility' => array(
- 'title' => '常用工具',
- 'menu' => array(
- 'system_utility_filecheck' => array(
- 'title' => '系统文件校验',
- 'url' => url('system/filecheck'),
- 'icon' => 'wi wi-file',
- 'permission_name' => 'system_utility_filecheck',
- ),
- 'system_utility_optimize' => array(
- 'title' => '性能优化',
- 'url' => url('system/optimize'),
- 'icon' => 'wi wi-optimize',
- 'permission_name' => 'system_utility_optimize',
- ),
- 'system_utility_database' => array(
- 'title' => '数据库',
- 'url' => url('system/database'),
- 'icon' => 'wi wi-sql',
- 'permission_name' => 'system_utility_database',
- ),
- 'system_utility_scan' => array(
- 'title' => '木马查杀',
- 'url' => url('system/scan'),
- 'icon' => 'wi wi-safety',
- 'permission_name' => 'system_utility_scan',
- ),
- 'system_utility_bom' => array(
- 'title' => '检测文件BOM',
- 'url' => url('system/bom'),
- 'icon' => 'wi wi-bom',
- 'permission_name' => 'system_utility_bom',
- ),
- 'system_utility_check' => array(
- 'title' => '系统常规检测',
- 'url' => url('system/check'),
- 'icon' => 'wi wi-bom',
- 'permission_name' => 'system_utility_check',
- ),
- )
- ),
- 'backjob'=> array(
- 'title' => '后台任务',
- 'menu'=> array(
- 'system_job'=> array(
- 'title' => '后台任务',
- 'url' => url('system/job/display'),
- 'icon' => 'wi wi-job',
- 'permission_name' => 'system_job',
- )
- )
- )
- ),
- 'founder' => true,
- );
- $we7_system_menu['myself'] = array(
- 'title' => '我的账户',
- 'icon' => 'wi wi-bell',
- 'dimension' => 2,
- 'url' => url('user/profile'),
- 'section' => array(),
- );
- $we7_system_menu['message'] = array(
- 'title' => '消息管理',
- 'icon' => 'wi wi-bell',
- 'dimension' => 2,
- 'url' => url('message/notice'),
- 'section' => array(
- 'message' => array(
- 'title' => '消息管理',
- 'menu' => array(
- 'message_notice' => array(
- 'title' => '消息提醒',
- 'url' => url('message/notice'),
- 'permission_name' => 'message_notice',
- ),
- 'message_setting' => array(
- 'title' => '消息设置',
- 'url' => url('message/notice/setting'),
- 'permission_name' => 'message_setting',
- ),
- 'message_wechat_setting' => array(
- 'title' => '微信提醒设置',
- 'url' => url('message/notice/wechat_setting'),
- 'permission_name' => 'message_wechat_setting',
- 'founder' => true,
- ),
- ),
- ),
- ),
- );
- $we7_system_menu['account'] = array(
- 'title' => '公众号',
- 'icon' => 'wi wi-white-collar',
- 'dimension' => 3,
- 'url' => url('home/welcome/platform'),
- 'section' => array(
- 'platform' => array(
- 'title' => '增强功能',
- 'menu' => array(
- 'platform_reply' => array(
- 'title' => '自动回复',
- 'url' => url('platform/reply'),
- 'icon' => 'wi wi-reply',
- 'permission_name' => 'platform_reply',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ),
- 'sub_permission' => array(
- 'platform_reply_keyword' => array(
- 'title' => '关键字自动回复',
- 'url' => url('platform/reply', array('m' => 'keyword')),
- 'permission_name' => 'platform_reply_keyword',
- 'active' => 'keyword',
- ),
- 'platform_reply_special' => array(
- 'title' => '非关键字自动回复',
- 'url' => url('platform/reply', array('m' => 'special')),
- 'permission_name' => 'platform_reply_special',
- 'active' => 'special',
- ),
- 'platform_reply_welcome' => array(
- 'title' => '首次访问自动回复',
- 'url' => url('platform/reply', array('m' => 'welcome')),
- 'permission_name' => 'platform_reply_welcome',
- 'active' => 'welcome',
- ),
- 'platform_reply_default' => array(
- 'title' => '默认回复',
- 'url' => url('platform/reply', array('m' => 'default')),
- 'permission_name' => 'platform_reply_default',
- 'active' => 'default',
- ),
- 'platform_reply_service' => array(
- 'title' => '常用服务',
- 'url' => url('platform/reply', array('m' => 'service')),
- 'permission_name' => 'platform_reply_service',
- 'active' => 'service',
- ),
- 'platform_reply_userapi' => array(
- 'title' => '自定义接口回复',
- 'url' => url('platform/reply', array('m' => 'userapi')),
- 'permission_name' => 'platform_reply_userapi',
- 'active' => 'userapi',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- ),
- 'platform_reply_setting' => array(
- 'title' => '回复设置',
- 'url' => url('profile/reply-setting'),
- 'permission_name' => 'platform_reply_setting',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- ),
- ),
- ),
- 'platform_menu' => array(
- 'title' => '自定义菜单',
- 'url' => url('platform/menu/post'),
- 'icon' => 'wi wi-custommenu',
- 'permission_name' => 'platform_menu',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ),
- 'sub_permission' => array(
- 'platform_menu_default' => array(
- 'title' => '默认菜单',
- 'url' => url('platform/menu/post'),
- 'permission_name' => 'platform_menu_default',
- 'active' => 'post',
- ),
- 'platform_menu_conditional' => array(
- 'title' => '个性化菜单',
- 'url' => url('platform/menu/display', array('type' => MENU_CONDITIONAL)),
- 'permission_name' => 'platform_menu_conditional',
- 'active' => 'display',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- ),
- ),
- ),
- 'platform_qr' => array(
- 'title' => '二维码/转化链接',
- 'url' => url('platform/qr'),
- 'icon' => 'wi wi-qrcode',
- 'permission_name' => 'platform_qr',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- 'sub_permission' => array(
- 'platform_qr_qr' => array(
- 'title' => '二维码',
- 'url' => url('platform/qr/list'),
- 'permission_name' => 'platform_qr_qr',
- 'active' => 'list',
- ),
- 'platform_qr_statistics' => array(
- 'title' => '二维码扫描统计',
- 'url' => url('platform/qr/display'),
- 'permission_name' => 'platform_qr_statistics',
- 'active' => 'display',
- ),
- ),
- ),
- 'platform_masstask' => array(
- 'title' => '定时群发',
- 'url' => url('platform/mass'),
- 'icon' => 'wi wi-crontab',
- 'permission_name' => 'platform_masstask',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ),
- 'sub_permission' => array(
- 'platform_masstask_post' => array(
- 'title' => '定时群发',
- 'url' => url('platform/mass/post'),
- 'permission_name' => 'platform_masstask_post',
- 'active' => 'post',
- ),
- 'platform_masstask_send' => array(
- 'title' => '群发记录',
- 'url' => url('platform/mass/send'),
- 'permission_name' => 'platform_masstask_send',
- 'active' => 'send',
- ),
- ),
- ),
- 'platform_material' => array(
- 'title' => '素材/编辑器',
- 'url' => url('platform/material'),
- 'icon' => 'wi wi-redact',
- 'permission_name' => 'platform_material',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ),
- 'sub_permission' => array(
- 'platform_material_news' => array(
- 'title' => '图文',
- 'url' => url('platform/material', array('type' => 'news')),
- 'permission_name' => 'platform_material_news',
- 'active' => 'news',
- ),
- 'platform_material_image' => array(
- 'title' => '图片',
- 'url' => url('platform/material', array('type' => 'image')),
- 'permission_name' => 'platform_material_image',
- 'active' => 'image',
- ),
- 'platform_material_voice' => array(
- 'title' => '语音',
- 'url' => url('platform/material', array('type' => 'voice')),
- 'permission_name' => 'platform_material_voice',
- 'active' => 'voice',
- ),
- 'platform_material_video' => array(
- 'title' => '视频',
- 'url' => url('platform/material', array('type' => 'video')),
- 'permission_name' => 'platform_material_video',
- 'active' => 'video',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- ),
- 'platform_material_delete' => array(
- 'title' => '删除',
- 'permission_name' => 'platform_material_delete',
- 'is_display' => false,
- ),
- ),
- ),
- 'platform_site' => array(
- 'title' => '微官网-文章',
- 'url' => url('site/multi'),
- 'icon' => 'wi wi-home',
- 'permission_name' => 'platform_site',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- 'sub_permission' => array(
- 'platform_site_multi' => array(
- 'title' => '微官网',
- 'url' => url('site/multi/display'),
- 'permission_name' => 'platform_site_multi',
- 'active' => 'multi',
- ),
- 'platform_site_style' => array(
- 'title' => '微官网模板',
- 'url' => url('site/style/template'),
- 'permission_name' => 'platform_site_style',
- 'active' => 'style',
- ),
- 'platform_site_article' => array(
- 'title' => '文章管理',
- 'url' => url('site/article/display'),
- 'permission_name' => 'platform_site_article',
- 'active' => 'article',
- ),
- 'platform_site_category' => array(
- 'title' => '文章分类管理',
- 'url' => url('site/category/display'),
- 'permission_name' => 'platform_site_category',
- 'active' => 'category',
- ),
- ),
- ),
- ),
- 'permission_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ),
- ),
- 'platform_module' => array(
- 'title' => '应用模块',
- 'menu' => array(),
- 'is_display' => true,
- ),
- 'mc' => array(
- 'title' => '粉丝',
- 'menu' => array(
- 'mc_fans' => array(
- 'title' => '粉丝管理',
- 'url' => url('mc/fans'),
- 'icon' => 'wi wi-fansmanage',
- 'permission_name' => 'mc_fans',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ),
- 'sub_permission' => array(
- 'mc_fans_display' => array(
- 'title' => '全部粉丝',
- 'url' => url('mc/fans/display'),
- 'permission_name' => 'mc_fans_display',
- 'active' => 'display',
- ),
- 'mc_fans_fans_sync_set' => array(
- 'title' => '粉丝同步设置',
- 'url' => url('mc/fans/fans_sync_set'),
- 'permission_name' => 'mc_fans_fans_sync_set',
- 'active' => 'fans_sync_set',
- ),
- ),
- ),
- 'mc_member' => array(
- 'title' => '会员管理',
- 'url' => url('mc/member', array('version_id' => $_GPC['version_id'])),
- 'icon' => 'wi wi-fans',
- 'permission_name' => 'mc_member',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ACCOUNT_TYPE_WEBAPP_NORMAL,
- ),
- 'sub_permission' => array(
- 'mc_member_diaplsy' => array(
- 'title' => '会员管理',
- 'url' => url('mc/member/display'),
- 'permission_name' => 'mc_member_diaplsy',
- 'active' => 'display',
- ),
- 'mc_member_group' => array(
- 'title' => '会员组',
- 'url' => url('mc/group/display'),
- 'permission_name' => 'mc_member_group',
- 'active' => 'display',
- ),
- 'mc_member_uc' => array(
- 'title' => '会员中心',
- 'url' => url('site/editor/uc'),
- 'permission_name' => 'mc_member_uc',
- 'active' => 'uc',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- ),
- 'mc_member_quickmenu' => array(
- 'title' => '快捷菜单',
- 'url' => url('site/editor/quickmenu'),
- 'permission_name' => 'mc_member_quickmenu',
- 'active' => 'quickmenu',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- ),
- 'mc_member_register_seting' => array(
- 'title' => '注册设置',
- 'url' => url('mc/member/register_setting'),
- 'permission_name' => 'mc_member_register_seting',
- 'active' => 'register_setting',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- ),
- 'mc_member_credit_setting' => array(
- 'title' => '积分设置',
- 'url' => url('mc/member/credit_setting'),
- 'permission_name' => 'mc_member_credit_setting',
- 'active' => 'credit_setting',
- ),
- 'mc_member_fields' => array(
- 'title' => '会员字段管理',
- 'url' => url('mc/fields/list'),
- 'permission_name' => 'mc_member_fields',
- 'active' => 'list',
- ),
- ),
- ),
- 'mc_message' => array(
- 'title' => '留言管理',
- 'url' => url('mc/message'),
- 'icon' => 'wi wi-message',
- 'permission_name' => 'mc_message',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ),
- )
- ),
- 'permission_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ACCOUNT_TYPE_WEBAPP_NORMAL,
- ),
- ),
- 'profile' => array(
- 'title' => '配置',
- 'menu' => array(
- 'profile_setting' => array(
- 'title' => '参数配置',
- 'url' => url('profile/remote'),
- 'icon' => 'wi wi-parameter-setting',
- 'permission_name' => 'profile_setting',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ACCOUNT_TYPE_WEBAPP_NORMAL,
- ),
- 'sub_permission' => array(
- 'profile_setting_remote' => array(
- 'title' => '远程附件',
- 'url' => url('profile/remote/display'),
- 'permission_name' => 'profile_setting_remote',
- 'active' => 'display',
- ),
- 'profile_setting_passport' => array(
- 'title' => '借用权限',
- 'url' => url('profile/passport/oauth'),
- 'permission_name' => 'profile_setting_passport',
- 'active' => 'oauth',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- ),
- 'profile_setting_tplnotice' => array(
- 'title' => '微信通知设置',
- 'url' => url('profile/tplnotice/list'),
- 'permission_name' => 'profile_setting_tplnotice',
- 'active' => 'list',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- ),
- 'profile_setting_notify' => array(
- 'title' => '邮件通知参数',
- 'url' => url('profile/notify/mail'),
- 'permission_name' => 'profile_setting_notify',
- 'active' => 'mail',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- ),
- 'profile_setting_uc_setting' => array(
- 'title' => 'UC站点整合',
- 'url' => url('profile/common/uc_setting'),
- 'permission_name' => 'profile_setting_uc_setting',
- 'active' => 'uc_setting',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- ),
- 'profile_setting_upload_file' => array(
- 'title' => '上传JS接口文件',
- 'url' => url('profile/common/upload_file'),
- 'permission_name' => 'profile_setting_upload_file',
- 'active' => 'upload_file',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- ),
- ),
- ),
- 'profile_payment' => array(
- 'title' => '支付参数',
- 'url' => url('profile/payment'),
- 'icon' => 'wi wi-pay-setting',
- 'permission_name' => 'profile_payment',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ),
- 'sub_permission' => array(
- 'profile_payment_pay' => array(
- 'title' => '支付配置',
- 'url' => url('profile/payment'),
- 'permission_name' => 'profile_payment_pay',
- 'active' => 'payment',
- ),
- 'profile_payment_refund' => array(
- 'title' => '退款配置',
- 'url' => url('profile/refund/display'),
- 'permission_name' => 'profile_payment_refund',
- 'active' => 'refund',
- ),
- ),
- ),
- 'profile_app_module_link' => array(
- 'title' => "数据同步",
- 'url' => url('profile/module-link-uniacid'),
- 'is_display' => 1,
- 'icon' => 'wi wi-data-synchro',
- 'permission_name' => 'profile_app_module_link_uniacid',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ),
- ),
-
- 'profile_bind_domain' => array(
- 'title' => '域名绑定',
- 'url' => url('profile/bind-domain'),
- 'icon' => 'wi wi-bind-domain',
- 'permission_name' => 'profile_bind_domain',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ),
- ),
-
- 'webapp_module_link' => array(
- 'title' => "数据同步",
- 'url' => url('profile/module-link-uniacid'),
- 'is_display' => 1,
- 'icon' => 'wi wi-data-synchro',
- 'permission_name' => 'webapp_module_link',
- 'is_display' => array(
- ACCOUNT_TYPE_WEBAPP_NORMAL,
- ),
- ),
- 'webapp_rewrite' => array(
- 'title' => '伪静态',
- 'url' => url('webapp/rewrite'),
- 'icon' => 'wi wi-rewrite',
- 'permission_name' => 'webapp_rewrite',
- 'is_display' => array(
- ACCOUNT_TYPE_WEBAPP_NORMAL,
- ),
- ),
-
- 'webapp_bind_domain' => array(
- 'title' => '域名访问设置',
- 'url' => url('webapp/bind-domain'),
- 'icon' => 'wi wi-bind-domain',
- 'permission_name' => 'webapp_bind_domain',
- 'is_display' => array(
- ACCOUNT_TYPE_WEBAPP_NORMAL,
- ),
- ),
-
- ),
- 'permission_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ACCOUNT_TYPE_WEBAPP_NORMAL,
- ),
- ),
-
- 'statistics' => array(
- 'title' => '统计',
- 'menu' => array(
- 'statistics_visit' => array(
- 'title' => '访问统计',
- 'url' => url('statistics/app'),
- 'icon' => 'wi wi-statistical',
- 'permission_name' => 'statistics_visit',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ACCOUNT_TYPE_WEBAPP_NORMAL,
- ),
- 'sub_permission' => array(
- 'statistics_visit_app' => array(
- 'title' => 'app端访问统计信息',
- 'url' => url('statistics/app/display'),
- 'permission_name' => 'statistics_visit_app',
- 'active' => 'app',
- ),
- 'statistics_visit_site' => array(
- 'title' => '所有用户访问统计',
- 'url' => url('statistics/site/current_account'),
- 'permission_name' => 'statistics_visit_site',
- 'active' => 'site',
- ),
- 'statistics_visit_setting' => array(
- 'title' => '访问统计设置',
- 'url' => url('statistics/setting/display'),
- 'permission_name' => 'statistics_visit_setting',
- 'active' => 'setting',
- ),
- ),
- ),
- 'statistics_fans' => array(
- 'title' => '用户统计',
- 'url' => url('statistics/fans'),
- 'icon' => 'wi wi-statistical',
- 'permission_name' => 'statistics_fans',
- 'is_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ),
- ),
- ),
- 'permission_display' => array(
- ACCOUNT_TYPE_OFFCIAL_NORMAL,
- ACCOUNT_TYPE_OFFCIAL_AUTH,
- ACCOUNT_TYPE_XZAPP_NORMAL,
- ACCOUNT_TYPE_XZAPP_AUTH,
- ACCOUNT_TYPE_WEBAPP_NORMAL,
- ),
- ),
-
- ),
- );
- $we7_system_menu['wxapp'] = array(
- 'title' => '微信小程序',
- 'icon' => 'wi wi-small-routine',
- 'dimension' => 3,
- 'url' => url('wxapp/display/home'),
- 'section' => array(
- 'wxapp_entrance' => array(
- 'title' => '小程序入口',
- 'menu' => array(
- 'module_entrance_link' => array(
- 'title' => "入口页面",
- 'url' => url('wxapp/entrance-link'),
- 'is_display' => array(
- ACCOUNT_TYPE_APP_NORMAL,
- ACCOUNT_TYPE_APP_AUTH,
- ACCOUNT_TYPE_WXAPP_WORK,
- ),
- 'icon' => 'wi wi-data-synchro',
- 'permission_name' => 'wxapp_entrance_link',
- ),
- ),
- 'permission_display' => array(
- ACCOUNT_TYPE_APP_NORMAL,
- ACCOUNT_TYPE_APP_AUTH,
- ACCOUNT_TYPE_WXAPP_WORK,
- )
- ),
- 'platform_module' => array(
- 'title' => '应用',
- 'menu' => array(),
- 'is_display' => true,
- ),
- 'mc' => array(
- 'title' => '粉丝',
- 'menu' => array(
- 'mc_member' => array(
- 'title' => '会员',
- 'url' => url('mc/member'),
- 'is_display' => array(
- ACCOUNT_TYPE_APP_NORMAL,
- ACCOUNT_TYPE_APP_AUTH,
- ACCOUNT_TYPE_WXAPP_WORK,
- ),
- 'icon' => 'wi wi-fans',
- 'permission_name' => 'mc_wxapp_member',
- 'sub_permission' => array(
- 'mc_member_diaplsy' => array(
- 'title' => '会员管理',
- 'url' => url('mc/member/display'),
- 'permission_name' => 'mc_member_diaplsy',
- 'active' => 'display',
- ),
- 'mc_member_group' => array(
- 'title' => '会员组',
- 'url' => url('mc/group/display'),
- 'permission_name' => 'mc_member_group',
- 'active' => 'display',
- ),
- 'mc_member_credit_setting' => array(
- 'title' => '积分设置',
- 'url' => url('mc/member/credit_setting'),
- 'permission_name' => 'mc_member_credit_setting',
- 'active' => 'credit_setting',
- ),
- 'mc_member_fields' => array(
- 'title' => '会员字段管理',
- 'url' => url('mc/fields/list'),
- 'permission_name' => 'mc_member_fields',
- 'active' => 'list',
- ),
- ),
- )
- ),
- 'permission_display' => array(
- ACCOUNT_TYPE_APP_NORMAL,
- ACCOUNT_TYPE_APP_AUTH,
- ACCOUNT_TYPE_WXAPP_WORK,
- )
- ),
- 'wxapp_profile' => array(
- 'title' => '配置',
- 'menu' => array(
- 'wxapp_profile_module_link_uniacid' => array(
- 'title' => "数据同步",
- 'url' => url('wxapp/module-link-uniacid'),
- 'is_display' => array(
- ACCOUNT_TYPE_APP_NORMAL,
- ACCOUNT_TYPE_APP_AUTH,
- ACCOUNT_TYPE_WXAPP_WORK,
- ACCOUNT_TYPE_PHONEAPP_NORMAL,
- ACCOUNT_TYPE_ALIAPP_NORMAL,
- ACCOUNT_TYPE_BAIDUAPP_NORMAL,
- ACCOUNT_TYPE_TOUTIAOAPP_NORMAL,
- ),
- 'icon' => 'wi wi-data-synchro',
- 'permission_name' => 'wxapp_profile_module_link_uniacid',
- ),
- 'wxapp_profile_payment' => array(
- 'title' => '支付参数',
- 'url' => url('wxapp/payment'),
- 'is_display' => array(
- ACCOUNT_TYPE_APP_NORMAL,
- ACCOUNT_TYPE_APP_AUTH,
- ACCOUNT_TYPE_WXAPP_WORK,
- ),
- 'icon' => 'wi wi-appsetting',
- 'permission_name' => 'wxapp_profile_payment',
- 'sub_permission' => array(
- 'wxapp_payment_pay' => array(
- 'title' => '支付参数',
- 'url' => url('wxapp/payment/display'),
- 'permission_name' => 'wxapp_payment_pay',
- 'active' => 'payment',
- ),
- 'wxapp_payment_refund' => array(
- 'title' => '退款配置',
- 'url' => url('wxapp/refund/display'),
- 'permission_name' => 'wxapp_payment_refund',
- 'active' => 'refund',
- ),
- ),
- ),
- 'wxapp_profile_front_download' => array(
- 'title' => $_W['account']['type_sign'] == 'wxapp' ? '上传微信审核' : '下载程序包',
- 'url' => $_W['account']['type_sign'] == 'phoneapp' ? url('phoneapp/front-download') : url('wxapp/front-download'),
- 'is_display' => 1,
- 'icon' => 'wi wi-examine',
- 'permission_name' => 'wxapp_profile_front_download',
- ),
- 'wxapp_profile_domainset' => array(
- 'title' => '域名设置',
- 'url' => url('wxapp/domainset', array('version_id' => $_GPC['version_id'])),
- 'is_display' => array(
- ACCOUNT_TYPE_APP_NORMAL,
- ACCOUNT_TYPE_APP_AUTH,
- ACCOUNT_TYPE_WXAPP_WORK,
- ),
- 'icon' => 'wi wi-examine',
- 'permission_name' => 'wxapp_profile_domainset',
- ),
- 'profile_setting_remote' => array(
- 'title' => '参数配置',
- 'url' => url('profile/remote'),
- 'is_display' => array(
- ACCOUNT_TYPE_APP_NORMAL,
- ACCOUNT_TYPE_APP_AUTH,
- ACCOUNT_TYPE_WXAPP_WORK,
- ACCOUNT_TYPE_PHONEAPP_NORMAL,
- ACCOUNT_TYPE_ALIAPP_NORMAL,
- ACCOUNT_TYPE_BAIDUAPP_NORMAL,
- ACCOUNT_TYPE_TOUTIAOAPP_NORMAL,
- ),
- 'icon' => 'wi wi-parameter-setting',
- 'permission_name' => 'profile_setting_remote',
- ),
- 'wxapp_profile_platform_material' => array(
- 'title' => '素材管理',
- 'is_display' => 0,
- 'permission_name' => 'wxapp_profile_platform_material',
- 'sub_permission' => array(
- array(
- 'title' => '删除',
- 'permission_name' => 'wxapp_profile_platform_material_delete',
- ),
- ),
- ),
- ),
- 'permission_display' => array(
- ACCOUNT_TYPE_APP_NORMAL,
- ACCOUNT_TYPE_APP_AUTH,
- ACCOUNT_TYPE_WXAPP_WORK,
- ACCOUNT_TYPE_PHONEAPP_NORMAL,
- ACCOUNT_TYPE_ALIAPP_NORMAL,
- ACCOUNT_TYPE_BAIDUAPP_NORMAL,
- ACCOUNT_TYPE_TOUTIAOAPP_NORMAL,
- )
- ),
- 'statistics' => array(
- 'title' => '统计',
- 'menu' => array(
- 'statistics_visit' => array(
- 'title' => '访问统计',
- 'url' => $_W['account']['type_sign'] == 'wxapp' ? url('wxapp/statistics') : url('statistics/app'),
- 'icon' => 'wi wi-statistical',
- 'permission_name' => 'statistics_visit_wxapp',
- 'is_display' => array(
- ACCOUNT_TYPE_APP_NORMAL,
- ACCOUNT_TYPE_APP_AUTH,
- ACCOUNT_TYPE_WXAPP_WORK,
- ACCOUNT_TYPE_PHONEAPP_NORMAL,
- ACCOUNT_TYPE_ALIAPP_NORMAL,
- ACCOUNT_TYPE_BAIDUAPP_NORMAL,
- ACCOUNT_TYPE_TOUTIAOAPP_NORMAL,
- ),
- 'sub_permission' => array(
- 'statistics_visit_app' => array(
- 'title' => 'app端访问统计信息',
- 'url' => url('statistics/app/display'),
- 'permission_name' => 'statistics_visit_app',
- 'active' => 'app',
- ),
- 'statistics_visit_site' => array(
- 'title' => '所有用户访问统计',
- 'url' => url('statistics/site/current_account'),
- 'permission_name' => 'statistics_visit_site',
- 'active' => 'site',
- ),
- 'statistics_visit_setting' => array(
- 'title' => '访问统计设置',
- 'url' => url('statistics/setting/display'),
- 'permission_name' => 'statistics_visit_setting',
- 'active' => 'setting',
- ),
- ),
- ),
- ),
- 'permission_display' => array(
- ACCOUNT_TYPE_APP_NORMAL,
- ACCOUNT_TYPE_APP_AUTH,
- ACCOUNT_TYPE_WXAPP_WORK,
- ACCOUNT_TYPE_PHONEAPP_NORMAL,
- ACCOUNT_TYPE_ALIAPP_NORMAL,
- ACCOUNT_TYPE_BAIDUAPP_NORMAL,
- ACCOUNT_TYPE_TOUTIAOAPP_NORMAL,
- )
- ),
- ),
- );
- $we7_system_menu['webapp'] = array(
- 'title' => 'PC',
- 'icon' => 'wi wi-pc',
- 'url' => url('webapp/home/display'),
- 'section' => array(),
- );
- $we7_system_menu['phoneapp'] = array(
- 'title' => 'APP',
- 'icon' => 'wi wi-white-collar',
- 'url' => url('phoneapp/display/home'),
- 'section' => array(
- 'platform_module' => array(
- 'title' => '应用',
- 'menu' => array(),
- 'is_display' => true,
- ),
- 'phoneapp_profile' => array(
- 'title' => '配置',
- 'menu' => array(
- 'profile_phoneapp_module_link' => array(
- 'title' => "数据同步",
- 'url' => url('wxapp/module-link-uniacid'),
- 'is_display' => array(
- ACCOUNT_TYPE_PHONEAPP_NORMAL,
- ),
- 'icon' => 'wi wi-data-synchro',
- 'permission_name' => 'profile_phoneapp_module_link',
- ),
- 'front_download' => array(
- 'title' => '下载APP',
- 'url' => url('phoneapp/front-download'),
- 'is_display' => true,
- 'icon' => 'wi wi-examine',
- 'permission_name' => 'phoneapp_front_download',
- )
- ),
- 'is_display' => true,
- 'permission_display' => array(
- ACCOUNT_TYPE_PHONEAPP_NORMAL,
- )
- )
- ),
- );
- $we7_system_menu['xzapp'] = array(
- 'title' => '熊掌号',
- 'icon' => 'wi wi-xzapp',
- 'url' => url('xzapp/home/display'),
- 'section' => array(
- 'platform_module' => array(
- 'title' => '应用模块',
- 'menu' => array(),
- 'is_display' => true,
- ),
- ),
- );
- $we7_system_menu['aliapp'] = array(
- 'title' => '支付宝小程序',
- 'icon' => 'wi wi-aliapp',
- 'url' => url('miniapp/display/home'),
- 'section' => array(
- 'platform_module' => array(
- 'title' => '应用',
- 'menu' => array(),
- 'is_display' => true,
- ),
- ),
- );
- $we7_system_menu['baiduapp'] = array(
- 'title' => '百度小程序',
- 'icon' => 'wi wi-baiduapp',
- 'url' => url('miniapp/display/home'),
- 'section' => array(
- 'platform_module' => array(
- 'title' => '应用',
- 'menu' => array(),
- 'is_display' => true,
- ),
- ),
- );
- $we7_system_menu['toutiaoapp'] = array(
- 'title' => '头条小程序',
- 'icon' => 'wi wi-toutiaoapp',
- 'url' => url('miniapp/display/home'),
- 'section' => array(
- 'platform_module' => array(
- 'title' => '应用',
- 'menu' => array(),
- 'is_display' => true,
- ),
- ),
- );
- /*$we7_system_menu['appmarket'] = array(
- 'title' => '市场',
- 'icon' => 'wi wi-market',
- 'url' => 'https://bbs.5g-yun.com',
- 'section' => array(),
- 'blank' => true,
- 'founder' => true,
- );
- */
- $we7_system_menu['store'] = array(
- 'title' => '商城',
- 'icon' => 'wi wi-store',
- 'url' => url('home/welcome/ext', array('m' => 'store')),
- 'section' => array(
- 'store_goods' => array(
- 'title' => '商品分类',
- 'menu' => array(
- 'store_goods_module' =>array(
- 'title' => '应用模块',
- 'url' => url('site/entry/goodsbuyer', array('m' => 'store', 'direct' => 1, 'type' => STORE_TYPE_MODULE)),
- 'icon' => 'wi wi-apply',
- 'type' => STORE_TYPE_MODULE,
- ),
- 'store_goods_account' => array(
- 'title' => '平台个数',
- 'url' => url('site/entry/goodsbuyer', array('m' => 'store', 'direct' => 1, 'type' => STORE_TYPE_ACCOUNT)),
- 'icon' => 'wi wi-account',
- 'type' => STORE_TYPE_ACCOUNT,
- ),
- 'store_goods_account_renew' => array(
- 'title' => '平台续费',
- 'url' => url('site/entry/goodsbuyer', array('m' => 'store', 'direct' => 1, 'type' => STORE_TYPE_ACCOUNT_RENEW)),
- 'icon' => 'wi wi-appjurisdiction',
- 'type' => STORE_TYPE_ACCOUNT_RENEW,
- ),
- 'store_goods_package' => array(
- 'title' => '应用权限组',
- 'url' => url('site/entry/goodsbuyer', array('m' => 'store', 'direct' => 1, 'type' => STORE_TYPE_PACKAGE)),
- 'icon' => 'wi wi-appjurisdiction',
- 'type' => STORE_TYPE_PACKAGE,
- ),
- 'store_goods_users_package' => array(
- 'title' => '用户权限组',
- 'url' => url('site/entry/goodsbuyer', array('m' => 'store', 'direct' => 1, 'type' => STORE_TYPE_USER_PACKAGE)),
- 'icon' => 'wi wi-userjurisdiction',
- 'type' => STORE_TYPE_USER_PACKAGE,
- ),
- 'store_goods_api' => array(
- 'title' => '应用访问流量(API)',
- 'url' => url('site/entry/goodsbuyer', array('m' => 'store', 'direct' => 1, 'type' => STORE_TYPE_API)),
- 'icon' => 'wi wi-api',
- 'type' => STORE_TYPE_API,
- ),
- ),
- ),
- 'store_manage' => array(
- 'title' => '商城管理',
- 'founder' => true,
- 'menu' => array(
- 'store_manage_goods' => array(
- 'title' => '添加商品',
- 'url' => url('site/entry/goodsSeller', array('m' => 'store', 'direct' => 1)),
- 'icon' => 'wi wi-goods-add',
- 'type' => 'goodsSeller',
- ),
- 'store_manage_setting' => array(
- 'title' => '商城设置',
- 'url' => url('site/entry/setting', array('m' => 'store', 'direct' => 1)),
- 'icon' => 'wi wi-store',
- 'type' => 'setting',
- ),
- 'store_manage_payset' => array(
- 'title' => '支付设置',
- 'url' => url('site/entry/paySetting', array('m' => 'store', 'direct' => 1)),
- 'icon' => 'wi wi-money',
- 'type' => 'paySetting',
- ),
- 'store_manage_permission' => array(
- 'title' => '商城访问权限',
- 'url' => url('site/entry/permission', array('m' => 'store', 'direct' => 1)),
- 'icon' => 'wi wi-blacklist',
- 'type' => 'blacklist',
- ),
- )
- ),
- 'store_orders' => array(
- 'title' => '订单管理',
- 'menu' => array(
- 'store_orders_my' => array(
- 'title' => '我的订单',
- 'url' => url('site/entry/orders', array('m' => 'store', 'direct' => 1)),
- 'icon' => 'wi wi-sale-record',
- 'type' => 'orders',
- ),
- 'store_cash_orders' => array(
- 'title' => '分销订单',
- 'url' => url('site/entry/cash', array('m' => 'store', 'operate' => 'cash_orders', 'direct' => 1)),
- 'icon' => 'wi wi-order',
- 'type' => 'cash_orders',
- ),
- ),
- ),
- 'store_payments' => array(
- 'title' => '收入明细',
- 'menu' => array(
- 'payments' => array (
- 'title' => '收入明细',
- 'url' => url('site/entry/payments', array('m' => 'store', 'direct' => 1)),
- 'icon' => 'wi wi-sale-record',
- 'type' => 'payments',
- ),
- )
- ),
- 'store_cash_manage' => array(
- 'title' => '分销管理',
- 'menu' => array(
- 'store_manage_cash_setting' => array(
- 'title' => '分销设置',
- 'url' => url('site/entry/cashsetting', array('m' => 'store', 'direct' => 1)),
- 'icon' => 'wi wi-site-setting',
- 'type' => 'cashsetting',
- ),
- 'store_check_cash' => array(
- 'title' => '提现审核',
- 'url' => url('site/entry/cash', array('m' => 'store', 'operate' => 'consume_order', 'direct' => 1)),
- 'icon' => 'wi wi-check-select',
- 'type' => 'consume_order',
- ),
- )
- ),
- 'store_cash' => array(
- 'title' => '佣金管理',
- 'menu' => array(
- 'payments' => array (
- 'title' => '我的佣金',
- 'url' => url('site/entry/cash', array('m' => 'store', 'operate' => 'mycash', 'direct' => 1)),
- 'icon' => 'wi wi-list',
- 'type' => 'mycash',
- ),
- )
- ),
- ),
- );
- /*$we7_system_menu['workorder'] = array(
- 'title' => '工单',
- 'icon' => 'wi wi-bell',
- 'dimension' => 2,
- 'url' => url('system/workorder/display'),
- 'section' => array(
- 'workorder'=> array(
- 'title' => '工单系统',
- 'menu'=> array(
- 'system_workorder'=> array(
- 'title' => '工单系统',
- 'url' => url('system/workorder/display'),
- 'icon' => 'wi wi-system-work',
- 'permission_name' => 'system_workorder',
- ),
- ),
- ),
- ),
- 'founder' => true,
- );*/
- $we7_system_menu['help'] = array(
- 'title' => '帮助',
- 'icon' => 'wi wi-market',
- 'url' => url('help/display'),
- 'section' => array(),
- );
- $we7_system_menu['custom_help'] = array(
- 'title' => '本站帮助',
- 'icon' => 'wi wi-market',
- 'url' => url('help/display/custom'),
- 'section' => array(),
- );
- return $we7_system_menu;
|