是否已退款
This commit is contained in:
parent
173c386323
commit
551825187c
|
@ -190,7 +190,7 @@ 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-未退款)
|
$item->is_refunded = $item->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;
|
||||||
|
|
|
@ -108,7 +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-未退款)
|
$item->is_refunded = $item->order_status == 5 ? 1 : 0; // 是否已退款(1-已退款,0-未退款)
|
||||||
|
|
||||||
$_list[] = $item;
|
$_list[] = $item;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue