From 4d784ef0f1dcbe4a873363c232adb90fc88062b7 Mon Sep 17 00:00:00 2001 From: jianghanbo Date: Wed, 25 Dec 2024 21:45:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E7=A8=8B=E5=8C=BA=E5=88=86=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/app/model/Orders.php | 2 +- service/app/server/Tongcheng.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/service/app/model/Orders.php b/service/app/model/Orders.php index e0e9be1b..1d4ce74a 100644 --- a/service/app/model/Orders.php +++ b/service/app/model/Orders.php @@ -56,7 +56,7 @@ class Orders extends base return self::DouyinStatus[$this->order_status] ?? '未知'; elseif ($this->os == 5) return self::DouyinStatus[$this->order_status] ?? '未知'; - elseif ($this->os == 6) + elseif ($this->os == 6 || $this->os == 8) return self::TongchengStatus[$this->order_status] ?? '未知'; else return self::KuaishouStatus[$this->order_status] ?? '未知'; diff --git a/service/app/server/Tongcheng.php b/service/app/server/Tongcheng.php index ddc4d5cc..aae00a3f 100644 --- a/service/app/server/Tongcheng.php +++ b/service/app/server/Tongcheng.php @@ -2,6 +2,7 @@ namespace app\server; +use app\model\FilterMobiles; use app\model\Orders; use Exception; use support\Log; @@ -56,6 +57,10 @@ class Tongcheng { if (in_array($order->orderStatus, [100, 150])) { continue; } + // 刷单账号 + if (FilterMobiles::isFilterMobile($order->mobile)) { + continue; + } $order->orderAmount = $order->orderAmount * 100; $item = new Orders();