同程区分平台
This commit is contained in:
parent
3cbb4f8148
commit
4d784ef0f1
|
@ -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] ?? '未知';
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue