项目初始化后续改动

This commit is contained in:
wule committed 2026-06-12 10:41:13 +08:00
1 parent 40c702883c
commit 42acf1b1cb
67 files changed
+5794 -1762

No files matched your search

+16 -16
View File
@@ -27,8 +27,8 @@ namespace Work
//BaseClass.AgentName = s.Split(',')[0];
BaseClass.MainPath = s.Split(',')[1];
}
if (Randomx.GetId(1, 100) <= 70)
BaseClass.LoginApiUrl = "http://new.qixiaoke.com/";// "http://192.168.8.9:8080/";//"http://new.qixiaoke.com/";
//if (Randomx.GetId(1, 100) <= 70)
// BaseClass.LoginApiUrl = "http://new.qixiaoke.com/";// "http://192.168.8.9:8080/";//"http://new.qixiaoke.com/";
if (FileBase.Exists(Application.StartupPath + "\\oms.ini"))
{
BaseClass.IsMainCompany = true;
@@ -334,16 +334,16 @@ namespace Work
{
if (FileBase.Exists(k.Key))
continue;
if (k.Key.Contains("OrderComing.ico") || k.Key.Contains("AfterSale.ico"))
{
if (GetHtml.DownloadFile("http://dl.qixiaoke.com/files/" + k.Key, k.Value))
FileBase.Move(k.Key + ".bak", k.Value);
}
else
{
if (GetHtml.DownloadFile("http://dl.qixiaoke.com/files/" + k.Value, k.Key + ".bak"))
FileBase.Move(k.Key + ".bak", k.Key);
}
//if (k.Key.Contains("OrderComing.ico") || k.Key.Contains("AfterSale.ico"))
//{
// if (GetHtml.DownloadFile("http://dl.qixiaoke.com/files/" + k.Key, k.Value))
// FileBase.Move(k.Key + ".bak", k.Value);
//}
//else
//{
// if (GetHtml.DownloadFile("http://dl.qixiaoke.com/files/" + k.Value, k.Key + ".bak"))
// FileBase.Move(k.Key + ".bak", k.Key);
//}
}
//if (FileBase.Exists("cefSharp.zip"))
//{
@@ -352,10 +352,10 @@ namespace Work
// FileBase.Delete("cefSharp.zip");
//}
//new Thread(new MulitServicerSet("拼多多商家").Login).Start();
new AddressSetIni().Ini();
// 取地址信息
//new AddressSetIni().Ini();
//new AddressSetIni().getAddress1688();
}
/// <summary>
/// 执行CMD命令
@@ -3677,7 +3677,7 @@ function packkey_q(strTime){
}
function packkey_r(){
var l = this;
var webua = ""Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134""
var webua = ""Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edge/17.17134""
return encodeContentLength_R([].concat(l.encodeStr(""r""), l.encodeStr(webua)));
}
function packkey_st(strCookie){