using System.Collections.Generic; namespace learun.wechat { /// /// 版 本 EasyCode EC管理后台 /// Copyright (c) 2019-present EC管理有限公司 /// 创建人:tobin /// 日 期:2019.11.06 /// 描 述:菜单创建 /// public class MenuCreate : OperationRequestBase { private string url = "https://qyapi.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN&agentid={0}"; /// /// /// /// protected override string Url() { return string.Format(url, agentid); } /// /// 企业应用的id,整型。可在应用的设置页面查看 /// /// [IsNotNull] public string agentid { private get; set; } /// /// 一级菜单数组,个数应为1~3个 /// /// public List button { get; set; } } }