优化登录与oem相关操作

This commit is contained in:
wule committed 2026-11-21 12:36:56 +08:00
1 parent a0b25ae79c
commit c0b2719cbc
6 files changed
+156 -49

No files matched your search

+8 -6
View File
@@ -222,16 +222,18 @@ namespace AllBase
/// <summary>
/// 发货每笔费用
/// </summary>
public static decimal PostagePerOrder { get; set; } = 2.2m;
static decimal? postageOemAmount = null;
public static decimal PostageOemAmount { set { postageOemAmount = value; } get { return postageOemAmount ?? Math.Max(0, PostagePerOrder - 2.2m); } }
//public static decimal PostagePerOrder { get; set; } = 2.2m;
//static decimal? postageOemAmount = null;
//public static decimal PostageOemAmount { set { postageOemAmount = value; } get { return postageOemAmount ?? Math.Max(0, PostagePerOrder - 2.2m); } }
public static decimal PostageOemAmount { get; set; } = 0m;
public static decimal ParentPostageOemAmount { get; set; } = 0m;
/// <summary>
/// 退货每笔费用
/// </summary>
public static decimal RefundPostagePerOrder { get; set; } = 2.5m;
static decimal? refundPostageOemAmount = null;
public static decimal RefundPostageOemAmount { set { refundPostageOemAmount = value; } get { return refundPostageOemAmount ?? Math.Max(0, RefundPostagePerOrder - 2.5m); } }
//public static decimal RefundPostagePerOrder { get; set; } = 2.5m;
//static decimal? refundPostageOemAmount = null;
//public static decimal RefundPostageOemAmount { set { refundPostageOemAmount = value; } get { return refundPostageOemAmount ?? Math.Max(0, RefundPostagePerOrder - 2.5m); } }
public static decimal RefundPostageOemAmount { get; set; } = 0m;
public static decimal ParentRefundPostageOemAmount { get; set; } = 0m;
public static int AlimamaPageCount = 0;
public static bool CloudTitle = false;