拍单后没有实时更新问题修复

This commit is contained in:
wule committed 2026-08-25 11:02:42 +08:00
1 parent 5721d0f7f3
commit 3281fe7885
6 files changed
+35 -5

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ namespace AllBase
/// 版本ID
/// </summary>
public static int VersionCount = 259;
public static int VersionCount = 260;
public static string ServerUrl { get; set; } = "http://1.13.195.131:9000";
public static string DebugUrl { get; set; } = "http://localhost:9000";
+8 -1
View File
@@ -131,7 +131,14 @@ namespace AllBase
if (encoding == null) encoding = Encoding.UTF8;
using (StreamReader streamReader = new StreamReader(streamToRead, encoding))
{
return streamReader.ReadToEnd();
try
{
return streamReader.ReadToEnd();
}
catch (Exception ex)
{
return ex.Message;
}
}
}
}
+12 -2
View File
@@ -142,8 +142,8 @@ namespace AllBase.Model.DBModel
/// </summary>
public bool isAbnormal
{
get { return this.GetValue(x => x.IsWaitReceive); }
set { this.SetValue(x => x.IsWaitReceive, value); }
get { return this.GetValue(x => x.isAbnormal); }
set { this.SetValue(x => x.isAbnormal, value); }
}
public string orderStatusStr
@@ -682,6 +682,10 @@ namespace AllBase.Model.DBModel
private bool GetIsWaitBuy()
{
if (order_id == "3738686976228742912")
{
}
if (status != 20 && status != 21)
return false;
if (refundItems?.Any(r => r.IsRefund) == true)
@@ -725,6 +729,12 @@ namespace AllBase.Model.DBModel
private bool GetIsWaitReceive()
{
if (order_id == "3738687160199289344")
{
}
if (refundItems?.Any(r => r.IsRefund) == true)
return false;
if (orderItems?.Any(oi => oi.refund_status > 1) == true)