同程过滤用户取消订单

This commit is contained in:
jianghanbo 2024-12-20 11:05:50 +08:00
parent 46e54bb429
commit c2384f1836
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ class Tongcheng {
// Log::info("同程 订单详情拉取失败:{$order->order_id}");
// throw new Exception("同程拉单{$order->order_id}详情获取失败");
// }
if (in_array($order->orderStatus, [100, 150])) {
continue;
}
$order->orderAmount = $order->orderAmount * 100;
$item = new Orders();