CaiWuXiTong/config/performance_details.php

17 lines
776 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
return [
/*
* 业绩明细「差额 / 匹配状态 / 差额异常备注」的比对基准。
*
* paid = 订单实付金额(2026-10-10 起使用)
* product = 订单商品金额(旧口径,2026-10-10 之前一直使用,保留以便随时切回)
*
* 两个口径的取数链完全一致(同店同号 → 店铺名不一致 → 同号多条 → 空店铺兜底),
* 只是把「订单侧金额」从商品金额换成订单实付金额;差额公式仍是
* (收入金额 + 优惠金额 + 冲减金额 + 违约赔付(冲减收入))− 订单侧金额,
* 退款金额单独列示、不参与差额。
*/
'difference_basis' => env('PERFORMANCE_DETAILS_DIFFERENCE_BASIS', 'paid'),
];