Commit cd1a913b authored by liudong1993's avatar liudong1993

1

parent d4d6c3bf
...@@ -38,6 +38,6 @@ namespace EduSpider.IRepository ...@@ -38,6 +38,6 @@ namespace EduSpider.IRepository
/// </summary> /// </summary>
/// <param name="Ids"></param> /// <param name="Ids"></param>
/// <returns></returns> /// <returns></returns>
public bool DeleteStuCommentRepository(string Ids) public bool DeleteStuCommentRepository(string Ids);
} }
} }
...@@ -24,11 +24,11 @@ namespace TicketSpider.Spiders.ClassInRule ...@@ -24,11 +24,11 @@ namespace TicketSpider.Spiders.ClassInRule
public static string GetInstance() public static string GetInstance()
{ {
if (_loginCookies == null) if (string.IsNullOrEmpty(_loginCookies))
{ {
lock (lockerSafe) lock (lockerSafe)
{ {
if (_loginCookies == null) if (string.IsNullOrEmpty(_loginCookies))
{ {
_loginCookies = string.Empty; _loginCookies = string.Empty;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment