是否已退款

This commit is contained in:
jianghanbo 2024-10-15 15:06:00 +08:00
parent 173c386323
commit 551825187c
2 changed files with 2 additions and 2 deletions

View File

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

View File

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