/// <summary> /// 更新部门 /// </summary> /// <param name="id"></param> /// <returns></returns> public BaseRes Department_Delete(int id) { var rel = QyAPI.Department_Delete(access_token, id); if (IsAccessTokenError(rel)) { rel = QyAPI.Department_Delete(access_token, id); IsAccessTokenError(rel, false); } return(rel); }