private async Task <bool> ClockIn() { try { if (await GetClockInfo()) { return(true); } var res = new ClockInResponse(await Manga.ClockIn(_token.AccessToken)); if (res.Code == 0) { Console.WriteLine(@"签到成功"); return(true); } if (res.Message == @"clockin clockin is duplicate") { Console.WriteLine(@"不能重复签到"); return(true); } Console.WriteLine(res.Message); return(false); } catch (Exception ex) { Console.WriteLine(ex); } Console.WriteLine(@"签到失败"); return(false); }