优化淘宝买手售后读取
This commit is contained in:
1 parent
e01d9a4681
commit
c79758f235
1 file changed
+10
-2
@@ -660,9 +660,17 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
|
||||
|
||||
oList.Add(o);
|
||||
|
||||
if (o.order_sn == "tb_5127890185262007919")
|
||||
{
|
||||
|
||||
}
|
||||
// 售后单放在同一个列表中统一处理
|
||||
var refundStatus = BaseRegex.GetStringJson(ref orderItemInfoStr, "refundStatus");
|
||||
if (!string.IsNullOrEmpty(refundStatus) && !string.IsNullOrEmpty(orderStatus))
|
||||
if (refundStatus.IsNullOrEmpty())
|
||||
{
|
||||
refundStatus = BaseRegex.GetStringJson(ref shopInfoStr, "tradeTitle") == "交易关闭" ? "退款成功" : "";
|
||||
}
|
||||
if ((!string.IsNullOrEmpty(refundStatus) && !string.IsNullOrEmpty(orderStatus)) || refundStatus == "退款成功")
|
||||
{
|
||||
TbBuyerAfterSaleLiteInfo af = new TbBuyerAfterSaleLiteInfo();
|
||||
af.buyerId = o.buyerId;
|
||||
@@ -769,7 +777,7 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
|
||||
o.buyerId = buyer.buyer_id;
|
||||
o.buyerName = buyer.buyer_name;
|
||||
|
||||
if (o.order_sn == "tb_5127796188031004903")
|
||||
if (o.order_sn == "tb_5127890185262007919")
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user