移除不必要的服务(qixiaoke)调用
This commit is contained in:
1 parent
14ac8986c8
commit
fceead357f
3 files changed
+34
-30
No files matched your search
@@ -27,8 +27,8 @@ namespace AllBase
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 版本ID
|
/// 版本ID
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static int VersionCount = 530;
|
public static int VersionCount = 531;
|
||||||
//public static int VersionCount = 530;
|
//public static int VersionCount = 531;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 版本号
|
/// 版本号
|
||||||
|
|||||||
@@ -70,6 +70,10 @@ namespace AllBase.Model.Result
|
|||||||
/// 是否已取消调价
|
/// 是否已取消调价
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool isRefuseAdjust { get; set; } = false;
|
public bool isRefuseAdjust { get; set; } = false;
|
||||||
|
/// <summary>
|
||||||
|
/// 建立每页唯一的snTag以便一起提交同一页的调价数据
|
||||||
|
/// </summary>
|
||||||
|
public string snTag { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SkuInfoItem
|
public class SkuInfoItem
|
||||||
|
|||||||
+28
-28
@@ -37,34 +37,34 @@ namespace AllBase
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static void Int()
|
public static void Int()
|
||||||
{
|
{
|
||||||
//MysqlHelper.ErrorString += "正在初始化分词库\r\n";
|
////MysqlHelper.ErrorString += "正在初始化分词库\r\n";
|
||||||
string f = GetPatch() + "\\Segment.dll";
|
//string f = GetPatch() + "\\Segment.dll";
|
||||||
if (!File.Exists(f))
|
//if (!File.Exists(f))
|
||||||
GetHtml.DownloadFile("http://dl.1n11.com/Segment.xml", f);
|
// GetHtml.DownloadFile("http://dl.1n11.com/Segment.xml", f);
|
||||||
if (!File.Exists(f))
|
//if (!File.Exists(f))
|
||||||
{
|
//{
|
||||||
BaseClass.ViewCode += "分词库加载失败,请前往官网下载完整版本";
|
// BaseClass.ViewCode += "分词库加载失败,请前往官网下载完整版本";
|
||||||
return;
|
// return;
|
||||||
}
|
//}
|
||||||
if (WordList.Count > 0)
|
//if (WordList.Count > 0)
|
||||||
return;
|
// return;
|
||||||
for (int i = 2; i < 10; i++)
|
//for (int i = 2; i < 10; i++)
|
||||||
{
|
//{
|
||||||
List<string> w = new List<string>();
|
// List<string> w = new List<string>();
|
||||||
WordList.Add(i, w);
|
// WordList.Add(i, w);
|
||||||
}
|
//}
|
||||||
string[] l = File.ReadAllLines(f, Encoding.UTF8);
|
//string[] l = File.ReadAllLines(f, Encoding.UTF8);
|
||||||
for (int i = 0; i < l.Length; i++)
|
//for (int i = 0; i < l.Length; i++)
|
||||||
{
|
//{
|
||||||
if (string.IsNullOrEmpty(l[i]))
|
// if (string.IsNullOrEmpty(l[i]))
|
||||||
continue;
|
// continue;
|
||||||
string key = l[i];
|
// string key = l[i];
|
||||||
if (key.Contains("\t") && key.IndexOf("\t")>0)
|
// if (key.Contains("\t") && key.IndexOf("\t")>0)
|
||||||
key = key.Substring(0, key.IndexOf("\t"));
|
// key = key.Substring(0, key.IndexOf("\t"));
|
||||||
if (key.Length < 2 || key.Length > 8)
|
// if (key.Length < 2 || key.Length > 8)
|
||||||
continue;
|
// continue;
|
||||||
WordList[key.Length].Add(key);
|
// WordList[key.Length].Add(key);
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 二分法提取关键词
|
/// 二分法提取关键词
|
||||||
|
|||||||
Reference in new issue
Block a user