同程区分平台

This commit is contained in:
jianghanbo 2024-12-25 21:45:21 +08:00
parent 3cbb4f8148
commit 4d784ef0f1
2 changed files with 6 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class Orders extends base
return self::DouyinStatus[$this->order_status] ?? '未知'; return self::DouyinStatus[$this->order_status] ?? '未知';
elseif ($this->os == 5) elseif ($this->os == 5)
return self::DouyinStatus[$this->order_status] ?? '未知'; return self::DouyinStatus[$this->order_status] ?? '未知';
elseif ($this->os == 6) elseif ($this->os == 6 || $this->os == 8)
return self::TongchengStatus[$this->order_status] ?? '未知'; return self::TongchengStatus[$this->order_status] ?? '未知';
else else
return self::KuaishouStatus[$this->order_status] ?? '未知'; return self::KuaishouStatus[$this->order_status] ?? '未知';

View File

@ -2,6 +2,7 @@
namespace app\server; namespace app\server;
use app\model\FilterMobiles;
use app\model\Orders; use app\model\Orders;
use Exception; use Exception;
use support\Log; use support\Log;
@ -56,6 +57,10 @@ class Tongcheng {
if (in_array($order->orderStatus, [100, 150])) { if (in_array($order->orderStatus, [100, 150])) {
continue; continue;
} }
// 刷单账号
if (FilterMobiles::isFilterMobile($order->mobile)) {
continue;
}
$order->orderAmount = $order->orderAmount * 100; $order->orderAmount = $order->orderAmount * 100;
$item = new Orders(); $item = new Orders();