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 lines
614 B

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