|
@ -13,8 +13,8 @@ namespace 齐越慧眼 |
|
|
public class ApiHelper |
|
|
public class ApiHelper |
|
|
{ |
|
|
{ |
|
|
#if LOCATION
|
|
|
#if LOCATION
|
|
|
public static string ApiBase { get; set; } = "http://localhost:5000"; |
|
|
//public static string ApiBase { get; set; } = "http://localhost:5000";
|
|
|
//public static string ApiBase { get; set; } = "http://hyapi.qiyue666.com";
|
|
|
public static string ApiBase { get; set; } = "http://hyapi.qiyue666.com"; |
|
|
#else
|
|
|
#else
|
|
|
|
|
|
|
|
|
public static string ApiBase { get; set; } = "http://hyapi.qiyue666.com"; |
|
|
public static string ApiBase { get; set; } = "http://hyapi.qiyue666.com"; |
|
@ -360,7 +360,10 @@ namespace 齐越慧眼 |
|
|
|
|
|
|
|
|
if (html.Contains("passport.jd.com/new/login.aspx") || html.Contains("//item.jd.com/html/token.html?returnUrl=")) |
|
|
if (html.Contains("passport.jd.com/new/login.aspx") || html.Contains("//item.jd.com/html/token.html?returnUrl=")) |
|
|
{ |
|
|
{ |
|
|
return (2, null); |
|
|
if (!html.Contains("var pageConfig")) |
|
|
|
|
|
{ |
|
|
|
|
|
return (2, null); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
int start = html.IndexOf("var pageConfig"); |
|
|
int start = html.IndexOf("var pageConfig"); |
|
|