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.
 
 
 
 
 
 

20 line
604 B

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