这几天微韵平台改版,有一些代码看的很不舒服,于是就重新编了起来…比如这样的…
这个类整理完共有1300行代码,主要是微韵的整体功能模块的管理,现在我感觉明天眼睛要瞎了~~
随便拿出来一个数组感受一下
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
array( 'name'=>'基础设置', 'iconName'=>'base', 'display'=>0, 'subs'=>array( array( 'name'=>'店员管理', 'pname'=>'Assistente', 'f'=>'Assistente', 'link'=>U('Assistente/index',array('token'=>$token)), 'new'=>1,'selectedCondition'=>array('m'=>'Assistente') ), array( 'name'=>'功能管理', 'pname'=>'Function', 'link'=>U('Function/index',array('token'=>$token,'id'=>session('wxid'))), 'new'=>0,'selectedCondition'=>array('m'=>'Function', 'a'=>'index') ), array( 'name'=>'功能勾选', 'pname'=>'Chose', 'link'=>U('Functions/index',array('token'=>$token,'id'=>session('wxid'))), 'new'=>0,'selectedCondition'=>array('m'=>'Functions','a'=>'index') ), array( 'name'=>'关注时回复与帮助', 'pname'=>'Areply', 'link'=>U('Areply/advanceindex',array('token'=>$token)), 'new'=>0,'selectedCondition'=>array('m'=>'Areply')), array( 'name'=>'微信-文本回复', 'pname'=>'Text', 'link'=>U('Text/index',array('token'=>$token)), 'new'=>0,'selectedCondition'=>array('m'=>'Text')), array( 'name'=>'微信-图文回复', 'pname'=>'Img', 'link'=>U('Img/index',array('token'=>$token)), 'new'=>0,'selectedCondition'=>array('m'=>'Img','a'=>'index')), array( 'name'=>'微信-图文编辑器', 'pname'=>'WxEdit', 'link'=>'./public/wxEdit/index.html?token='.$token, 'new'=>1,'selectedCondition'=>array('m'=>'Img','a'=>'index')), array( 'name'=>'微信-多图文回复', 'pname'=>'MoreReply', 'link'=>U('Img/multi',array('token'=>$token)), 'new'=>0,'selectedCondition'=>array('m'=>'Img','a'=>'multi')), array( 'name'=>'微信-语音回复', 'pname'=>'Voiceresponse', 'link'=>U('Voiceresponse/index',array('token'=>$token)), 'new'=>0,'selectedCondition'=>array('m'=>'Voiceresponse')), array( 'name'=>'微信-群发消息', 'pname'=>'Message', 'link'=>U('Message/sendHistory',array('token'=>$token)), 'new'=>0,'selectedCondition'=>array('m'=>'Message')), array( 'name'=>'微信-模板消息', 'pname'=>'TemplateMsg', 'link'=>U('TemplateMsg/index',array('token'=>$token)), 'new'=>0,'selectedCondition'=>array('m'=>'TemplateMsg')), array( 'name'=>'LBS商家连锁', 'pname'=>'Company', 'link'=>U('Company/index',array('token'=>$token)), 'new'=>1,'selectedCondition'=>array('m'=>'Company')), array( 'name'=>'自定义菜单', 'pname'=>'Diymen', 'link'=>U('Diymen/index',array('token'=>$token)), 'new'=>0,'selectedCondition'=>array('m'=>'Diymen')), array( 'name'=>'个性化自定义菜单', 'pname'=>'NewDiymen', 'link'=>U('Conditionalmenu/index',array('token'=>$token)), 'new'=>1,'test'=>0,'selectedCondition'=>array('m'=>'Conditionalmenu')), array( 'name'=>'自动获取粉丝信息', 'pname'=>'Auth', 'link'=>U('Auth/index',array('token'=>$token)), 'new'=>1,'selectedCondition'=>array('m'=>'Auth')), array( 'name'=>'回答不上来的配置', 'pname'=>'Other', 'link'=>U('Other/index',array('token'=>$token)), 'new'=>0,'selectedCondition'=>array('m'=>'Other')), array( 'name'=>'邮箱配置', 'pname'=>'MailSet', 'link'=>U('Wzqemail/index',array('token'=>$token)), 'new'=>0,'selectedCondition'=>array('m'=>'Wzqemail')), array( 'name'=>'快捷关注配置', 'pname'=>'QuickGuanzhu', 'link'=>U('Quick/index',array('token'=>$token)), 'new'=>1,'selectedCondition'=>array('m'=>'Quick')), array( 'name'=>'在线客服配置', 'pname'=>'onKefu', 'link'=>U('Kefu/index',array('token'=>$token)), 'new'=>1,'selectedCondition'=>array('m'=>'Kefu')), )), |
还是要对自己的眼睛好一点,该睡觉了~好久没有写这种吐糟文字了~~