From 65a87a5f1ab7ce0def69497fa763152e20b4ef0e Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 9 Sep 2025 16:47:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/task/svc/svc_elm_order.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/task/svc/svc_elm_order.go b/app/task/svc/svc_elm_order.go index 9815878..3a1bda7 100644 --- a/app/task/svc/svc_elm_order.go +++ b/app/task/svc/svc_elm_order.go @@ -124,6 +124,9 @@ func OrdersElmGet(p int, pageSize int, sTime, eTime int64, timeType string, pvd Status: stateList[utils.Int64ToStr(*v.OrderState)], CreateTime: int(createTime), } + if v.OrderItemStatusName != nil && *v.OrderItemStatusName == "售中退款" { + res.Status = "订单失效" + } if *v.SettleState == 1 && v.SettleTime != nil { res.Status = "订单结算" res.PlatformSettleTime = int(utils.TimeStdParseUnix(*v.SettleTime))