25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

UserGet.cs 638 B

4 yıl önce
12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Learun.Application.WeChat
  7. {
  8. public class UserGet : OperationRequestBase<UserGetResult,HttpGetRequest>
  9. {
  10. private string url = "https://qyapi.weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN&userid={0}";
  11. protected override string Url()
  12. {
  13. return string.Format(url, userid);
  14. }
  15. /// <summary>
  16. /// 员工UserID
  17. /// </summary>
  18. /// <returns></returns>
  19. [IsNotNull]
  20. public string userid { get; set; }
  21. }
  22. }