Skip to content

Commit

Permalink
修复退款识别的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chr233 committed May 17, 2022
1 parent 132033b commit 9350513
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ASFEnhance/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Reflection;

[assembly: System.CLSCompliant(false)]
[assembly: AssemblyVersion("1.5.20.377")]
[assembly: AssemblyFileVersion("1.5.20.377")]
[assembly: AssemblyVersion("1.5.20.380")]
[assembly: AssemblyFileVersion("1.5.20.380")]

[assembly: AssemblyCopyright("Copyright © 2022 Chr_")]
[assembly: AssemblyProduct("ASFEnhance")]
Expand Down
6 changes: 3 additions & 3 deletions ASFEnhance/Store/HtmlParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -314,14 +314,14 @@ int ParseMoneyString(string strMoney)
continue;
}

//IElement whtItem = row.QuerySelector("td.wht_items");
IElement whtItem = row.QuerySelector("td.wht_items");
IElement whtType = row.QuerySelector("td.wht_type");
IElement whtTotal = row.QuerySelector("td.wht_total");
IElement whtChange = row.QuerySelector("td.wht_wallet_change.wallet_column");

bool isRefund = whtType.HasAttribute("wht_refunded");
bool isRefund = whtType.ClassName.Contains("wht_refunded");

//string strItem = whtItem?.Text().Trim().Replace("\t", "") ?? "";
string strItem = whtItem?.Text().Trim().Replace("\t", "") ?? "";
string strType = whtType?.Text().Trim().Replace("\t", "") ?? "";
string strTotal = whtTotal?.Text().Trim().Replace("\t", "") ?? "";
string strChange = whtChange?.Text().Trim().Replace("\t", "") ?? "";
Expand Down

0 comments on commit 9350513

Please sign in to comment.