保证金 更新

This commit is contained in:
wule committed 2026-09-21 10:39:32 +08:00
1 parent 8c11794884
commit d1001d5623
5 files changed
+82 -19

No files matched your search

+22 -4
View File
@@ -311,8 +311,8 @@ namespace TemuKJD
Task.Run(()=>
{
ReadWxCate();
//ReadWxCateBound();
ReadWxCateBound60323();
//ReadWxCateBound();
ReadWxCateBound60921();
ReadPddCate();
while(!StartUp.IsShopInit)
@@ -332,7 +332,7 @@ namespace TemuKJD
void ReadWxCate()
{
string filePath = Path.Combine(Environment.CurrentDirectory, "temp\\wxCat60808");
string filePath = Path.Combine(Environment.CurrentDirectory, "temp\\wxCat60920");
if (!File.Exists(filePath))
return;
using (StreamReader sr = new StreamReader(filePath, System.Text.Encoding.UTF8))
@@ -472,7 +472,25 @@ namespace TemuKJD
GlobalConfig.WxCatBoundList = new ConcurrentList<WxCatBoundInfo>();
}
public void SetTitle()
void ReadWxCateBound60921()
{
string filePath = Path.Combine(Environment.CurrentDirectory, "temp\\wxCatBound60921");
if (!File.Exists(filePath))
return;
try
{
var catTxt = FileBase.ReadAllText(filePath, System.Text.Encoding.UTF8);
GlobalConfig.WxCatBoundList = [.. JsonHelper.DeserializeJsonToList<WxCatBoundInfo>(catTxt)];
}
catch (Exception ex)
{
BaseMsgForm.ShowError("类目价格获取失败:" + ex.Message);
}
if (GlobalConfig.WxCatBoundList == null)
GlobalConfig.WxCatBoundList = new ConcurrentList<WxCatBoundInfo>();
}
public void SetTitle()
{
lblVersionInfo.Text = BaseClass.ToolName + " V" + BaseClass.Varsion + " - " + BaseClass.NickName;
lblVersionInfo.ForeColor = GlobalConfig.MainColorLight;