zoukankan      html  css  js  c++  java
  • 微信菜单php 数组格式

    //备用


    $menu['button']['0']['name'] = '积分';

    $menu['button']['0']['sub_button']['0']['type'] = 'view';
    $menu['button']['0']['sub_button']['0']['name'] = '积分商城';
    $menu['button']['0']['sub_button']['0']['url'] = 'xxx';

    $menu['button']['0']['sub_button']['1']['type'] = 'view';
    $menu['button']['0']['sub_button']['1']['name'] = '微商城';
    $menu['button']['0']['sub_button']['1']['url'] = 'xxx';

    $menu['button']['0']['sub_button']['2']['type'] = 'view';
    $menu['button']['0']['sub_button']['2']['name'] = '优品专区';
    $menu['button']['0']['sub_button']['2']['url'] = 'xxx';

    $menu['button']['1']['name'] = '活动内容';

    $menu['button']['1']['sub_button']['0']['type'] = 'view';
    $menu['button']['1']['sub_button']['0']['name'] = '最新活动';
    $menu['button']['1']['sub_button']['0']['url'] = 'xxx';

    $menu['button']['1']['sub_button']['1']['type'] = 'view';
    $menu['button']['1']['sub_button']['1']['name'] = '分享有礼';
    $menu['button']['1']['sub_button']['1']['url'] = 'xx';

    $menu['button']['1']['sub_button']['2']['type'] = 'view';
    $menu['button']['1']['sub_button']['2']['name'] = '在线调研';
    $menu['button']['1']['sub_button']['2']['url'] = 'xxx';

    $menu['button']['1']['sub_button']['3']['type'] = 'view';
    $menu['button']['1']['sub_button']['3']['name'] = '秒杀专区';
    $menu['button']['1']['sub_button']['3']['url'] = 'xx';


    //------------------------------------3-------------------------------------

    $menu['button']['2']['name'] = '积分管理';

    $menu['button']['2']['sub_button']['0']['type'] = 'view';
    $menu['button']['2']['sub_button']['0']['name'] = '积分查询';
    $menu['button']['2']['sub_button']['0']['url'] = 'xxx';

    $menu['button']['2']['sub_button']['1']['type'] = 'view';
    $menu['button']['2']['sub_button']['1']['name'] = '订单查询';
    $menu['button']['2']['sub_button']['1']['url'] = 'xx';

    $menu['button']['2']['sub_button']['2']['type'] = 'view';
    $menu['button']['2']['sub_button']['2']['name'] = '购物车';
    $menu['button']['2']['sub_button']['2']['url'] = 'xxx';

    $menu['button']['2']['sub_button']['3']['type'] = 'view';
    $menu['button']['2']['sub_button']['3']['name'] = '积分规则';
    $menu['button']['2']['sub_button']['3']['url'] = 'xxx';

  • 相关阅读:
    简单的一个php验证登陆代码
    目标,信念,坚强,淡定,团队
    linux下安装redis及PHP扩展应用
    mysql 命令行 隔离级别
    数据库事务的隔离级别
    mysql 乐观锁和悲观锁
    SpringBoot跨域问题CORS解决
    Oracle SQL题目及其解答(学生、课程、成绩、教师)
    SpringCloud学习2-eureka
    SpringCloud学习1-概述
  • 原文地址:https://www.cnblogs.com/jackylee92/p/6154742.html
Copyright © 2011-2022 走看看