/// <summary> /// 打卡 /// </summary> /// <param name="userName"></param> /// <param name="passWord"></param> /// <returns></returns> private bool Checkin(string userName, string passWord, bool isBachelor) { // 打卡 Authentication auth = new Authentication(userName, passWord); var cookies = auth.Do(); if (cookies != null) { Checkin checkin = new Checkin(cookies, isBachelor); return(checkin.Do()); } return(false); }