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.

MenuGet.cs 576 B

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