Skip to content

Commit

Permalink
代码整理
Browse files Browse the repository at this point in the history
  • Loading branch information
GardenHamster committed Dec 21, 2023
1 parent bd5a36b commit ad35aea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Theresa3rd-Bot/TheresaBot.Main/Services/WebsiteService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public WebsitePO UpdatePixivCookie(string cookie)
throw new HandleException($"cookie中缺少PHPSESSID,请重新获取cookie");
}

//11451419_iUaiFfh68q6INMejIBGcLfhju9Ok70UB
var splitArr = sessionId.Split('_', StringSplitOptions.RemoveEmptyEntries);
if (splitArr.Length < 2 || string.IsNullOrWhiteSpace(splitArr[0]))
{
Expand Down

0 comments on commit ad35aea

Please sign in to comment.