/// <summary> /// 获取部门列表 /// </summary> /// <param name="id"></param> /// <returns></returns> public DeptListRes Department_List(int id) { var rel = QyAPI.Department_List(access_token, id); if (IsAccessTokenError(rel)) { rel = QyAPI.Department_List(access_token, id); IsAccessTokenError(rel, false); } return(rel); }