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