Browse Source

修复部分url获取不到详情

master
feng 3 years ago
parent
commit
32c4139d72
  1. 7
      客户端/齐越慧眼/齐越慧眼/ApiHelper.cs
  2. 2
      客户端/齐越慧眼/齐越慧眼/MainWindow.xaml

7
客户端/齐越慧眼/齐越慧眼/ApiHelper.cs

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

2
客户端/齐越慧眼/齐越慧眼/MainWindow.xaml

@ -11,7 +11,7 @@
WindowStartupLocation="CenterScreen"
ActiveGlowColor="{DynamicResource PrimaryColor}"
Height="780"
Title="慧眼 V1.0.1.2"
Title="慧眼 V1.0.1.3"
Width="1468" Icon="/icon.ico"
>
<Border Padding="0 10" Background="#EEEEEE">

Loading…
Cancel
Save