You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
46 lines
1.1 KiB
3 years ago
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace learun.wechat
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 版 本 EasyCode EC管理后台
|
||
|
/// Copyright (c) 2019-present EC管理有限公司
|
||
|
/// 创建人:tobin
|
||
|
/// 日 期:2019.11.06
|
||
|
/// 描 述:菜单
|
||
|
/// </summary>
|
||
|
public class MenuItem
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 二级菜单数组,个数应为1~5个
|
||
|
/// </summary>
|
||
|
/// <returns></returns>
|
||
|
public List<MenuItem> sub_button { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 菜单的响应动作类型,目前有click、view两种类型
|
||
|
/// </summary>
|
||
|
/// <returns></returns>
|
||
|
public string type { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 菜单标题,不超过16个字节,子菜单不超过40个字节
|
||
|
/// </summary>
|
||
|
/// <returns></returns>
|
||
|
public string name { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// click类型必须
|
||
|
/// 菜单KEY值,用于消息接口推送,不超过128字节
|
||
|
/// </summary>
|
||
|
/// <returns></returns>
|
||
|
public string key { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// view类型必须
|
||
|
/// 网页链接,员工点击菜单可打开链接,不超过256字节
|
||
|
/// </summary>
|
||
|
/// <returns></returns>
|
||
|
public string url { get; set; }
|
||
|
}
|
||
|
}
|