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.

DepartmentDelete.cs 614 B

4 years ago
12345678910111213141516171819
  1. 
  2. namespace Learun.Application.WeChat
  3. {
  4. public class DepartmentDelete : OperationRequestBase<OperationResultsBase,HttpGetRequest>
  5. {
  6. private string url = "https://qyapi.weixin.qq.com/cgi-bin/department/delete?access_token=ACCESS_TOKEN&id={0}";
  7. protected override string Url()
  8. {
  9. return string.Format(url, id);
  10. }
  11. /// <summary>
  12. /// 部门id。(注:不能删除根部门;不能删除含有子部门、成员的部门)
  13. /// </summary>
  14. /// <returns></returns>
  15. [IsNotNull]
  16. public string id { get; set; }
  17. }
  18. }