From 5cc25fd098f2ede633f8e19e8088f31e8f186f30 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 17 Jan 2025 15:21:40 +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_didi_order.go | 2 +- app/task/svc/svc_elm_order.go | 2 +- app/task/svc/svc_hw_order.go | 2 +- app/task/svc/svc_meituan_order.go | 2 +- app/task/svc/svc_t3_order.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/task/svc/svc_didi_order.go b/app/task/svc/svc_didi_order.go index 552eb5d..87c7795 100644 --- a/app/task/svc/svc_didi_order.go +++ b/app/task/svc/svc_didi_order.go @@ -127,7 +127,7 @@ func OrdersDidiGet(p int, pageSize int, sTime, eTime int64, timeType string, pvd res.Pvd = "own_didi_online_car" } ex := strings.Split(v.SourceId, "_") - if len(ex) < 4 || strings.Contains(v.SourceId, "own") == false { + if len(ex) < 4 || strings.Contains(v.SourceId, "own") == false || strings.Contains(v.SourceId, "ddstar") { continue } orderType := 0 diff --git a/app/task/svc/svc_elm_order.go b/app/task/svc/svc_elm_order.go index 806dae9..bc4e1dd 100644 --- a/app/task/svc/svc_elm_order.go +++ b/app/task/svc/svc_elm_order.go @@ -126,7 +126,7 @@ func OrdersElmGet(p int, pageSize int, sTime, eTime int64, timeType string, pvd res.PlatformSettleTime = int(utils.TimeStdParseUnix(*v.SettleTime)) } ex := strings.Split(*v.Sid, "_") - if len(ex) < 4 || strings.Contains(*v.Sid, "own") == false { + if len(ex) < 4 || strings.Contains(*v.Sid, "own") == false || strings.Contains(*v.Sid, "ddstar") { continue } orderType := 0 diff --git a/app/task/svc/svc_hw_order.go b/app/task/svc/svc_hw_order.go index e49c416..6456ee2 100644 --- a/app/task/svc/svc_hw_order.go +++ b/app/task/svc/svc_hw_order.go @@ -119,7 +119,7 @@ func AddOrder(method string, order map[string]interface{}) { statusArr := map[string]string{"FINISHED": "订单成功", "GENERATE_SUCCESS": "订单成功", "WAIT_GENERATE": "订单付款", "WAIT_PAY": "创建订单", "CLOSED": "订单失效", "CANCELED": "订单失效", "FAIL": "订单失效", "CLOSE": "订单失效", "RETURNED": "订单失效", "UNPAID": "创建订单", "PAYED": "订单付款", "DEALING": "订单付款", "SENDING": "订单付款", "ORDER_RECEIVED": "订单付款", "RECEIVED": "订单成功", "RECEIVED_ORDER": "订单付款", "WAITING_RECEIVED": "订单付款", "WAIT_OUT_MEAL": "订单付款", "MAKING": "订单付款", "ARRIVED": "订单成功", "COMPLETE": "订单成功", "REFUNDED": "订单退款", "OUT_MEAL": "订单成功"} userId := order["extra"] - if strings.Contains(utils.AnyToString(userId), "m") == false { + if strings.Contains(utils.AnyToString(userId), "m") == false || strings.Contains(utils.AnyToString(userId), "ddstar") { return } isShare := 0 diff --git a/app/task/svc/svc_meituan_order.go b/app/task/svc/svc_meituan_order.go index abea151..7e44bae 100644 --- a/app/task/svc/svc_meituan_order.go +++ b/app/task/svc/svc_meituan_order.go @@ -150,7 +150,7 @@ func OrdersMeituanGet(nextPositionIndex string, pageSize int, sTime, eTime int64 res.PlatformSettleTime = v.UpdateTime } ex := strings.Split(v.Sid, "_") - if len(ex) < 3 { + if len(ex) < 3 || strings.Contains(v.Sid, "ddstar") { continue } orderType := 0 diff --git a/app/task/svc/svc_t3_order.go b/app/task/svc/svc_t3_order.go index acc28bd..7995ce8 100644 --- a/app/task/svc/svc_t3_order.go +++ b/app/task/svc/svc_t3_order.go @@ -116,7 +116,7 @@ func OrdersT3Get(p int, pageSize int, sTime, eTime int64, timeType string, pvd i CreateTime: int(v.CreateTime / 1000), } ex := strings.Split(v.SourceId, "_") - if len(ex) < 4 || strings.Contains(v.SourceId, "own") == false { + if len(ex) < 4 || strings.Contains(v.SourceId, "own") == false || strings.Contains(v.SourceId, "ddstar") { continue } orderType := 0