20 lines
604 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace Learun.Application.WeChat
{
public class MenuDelete : OperationRequestBase<OperationResultsBase, HttpGetRequest>
{
private string url = "https://qyapi.weixin.qq.com/cgi-bin/menu/delete?access_token=ACCESS_TOKEN&agentid={0}";
protected override string Url()
{
return string.Format(url, agentid);
}
/// <summary>
/// 企业应用的id整型。可在应用的设置页面查看
/// </summary>
/// <returns></returns>
[IsNotNull]
public string agentid { private get; set; }
}
}