是否已退款

This commit is contained in:
jianghanbo 2024-10-15 14:57:15 +08:00
parent f910ee03a7
commit 173c386323
2 changed files with 2 additions and 1 deletions

View File

@ -190,8 +190,8 @@ class Douyin
$item->asset_status = $order->status ?? 0; $item->asset_status = $order->status ?? 0;
$item->category_desc = $order->sku->title; $item->category_desc = $order->sku->title;
$item->asset_price = $order->amount->verify_amount ?? 0; $item->asset_price = $order->amount->verify_amount ?? 0;
$item->is_refunded = $order->order_status == 4 ? 1 : 0; // 是否已退款1-已退款0-未退款)
//抖音的核销金额需要查核销订单 //抖音的核销金额需要查核销订单
if ($item->create_at < strtotime('2024-05-22') * 1000) { if ($item->create_at < strtotime('2024-05-22') * 1000) {
$this->totalPage = 1; $this->totalPage = 1;
break; break;

View File

@ -108,6 +108,7 @@ class Meituan {
$item->category_desc = $order->categoryDesc; $item->category_desc = $order->categoryDesc;
$item->is_zhibo = $order->bizOrderChannel == 5 ? 1 : 0; // 是否直播5-视频号3-小程序) $item->is_zhibo = $order->bizOrderChannel == 5 ? 1 : 0; // 是否直播5-视频号3-小程序)
$item->asset_price = $order->orderStatus == 4 ? $order->totalPrice: 0; //已核销订单,核销金额为订单金额 $item->asset_price = $order->orderStatus == 4 ? $order->totalPrice: 0; //已核销订单,核销金额为订单金额
$item->is_refunded = $order->order_status == 5 ? 1 : 0; // 是否已退款1-已退款0-未退款)
$_list[] = $item; $_list[] = $item;
} }