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.
30 lines
747 B
30 lines
747 B
3 years ago
|
namespace learun.wechat
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 版 本 EasyCode EC管理后台
|
||
|
/// Copyright (c) 2019-present EC管理有限公司
|
||
|
/// 创建人:tobin
|
||
|
/// 日 期:2019.11.06
|
||
|
/// 描 述:菜单获取
|
||
|
/// </summary>
|
||
|
public class MenuGet : OperationRequestBase<MenuGetResult, HttpGetRequest>
|
||
|
{
|
||
|
private string url = "https://qyapi.weixin.qq.com/cgi-bin/menu/get?access_token=ACCESS_TOKEN&agentid={0}";
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
/// <returns></returns>
|
||
|
protected override string Url()
|
||
|
{
|
||
|
return string.Format(url, agentid);
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 企业应用的id,整型。可在应用的设置页面查看
|
||
|
/// </summary>
|
||
|
/// <returns></returns>
|
||
|
[IsNotNull]
|
||
|
public string agentid { get; set; }
|
||
|
}
|
||
|
}
|