同程区分平台

This commit is contained in:
jianghanbo 2024-12-24 11:43:09 +08:00
parent 9e367ca09e
commit 3104c8b357
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,8 @@ class Tongcheng {
} }
if ($order->sourceType == 1) { if ($order->sourceType == 1) {
$item->os = 8; $item->os = 8;
} else {
$item->os = 6;
} }
$item->asset_status = $order->status ?? 0; // 核销状态 $item->asset_status = $order->status ?? 0; // 核销状态
$item->asset_price = $order->orderStatus == 300 ? $order->orderAmount : 0; // 核销金额 $item->asset_price = $order->orderStatus == 300 ? $order->orderAmount : 0; // 核销金额