23 lines
874 B
PHP
23 lines
874 B
PHP
<?php
|
|
|
|
return [
|
|
'platform_orders' => [
|
|
// 平台订单列表中“同步失败原因”链接的最大长度阈值。
|
|
// 失败原因过长时不生成 sync_error_keyword 链接,避免 URL 过长/特殊字符破坏 query。
|
|
'sync_error_keyword_link_max_len' => 200,
|
|
|
|
// 平台订单列表“同步失败原因 TOPN”聚合条数。
|
|
'sync_failed_reason_top_n' => 5,
|
|
|
|
// 同步失败原因展示截断长度(用于列表/聚合展示,避免撑坏布局)。
|
|
'sync_failed_reason_display_truncate_len' => 60,
|
|
],
|
|
|
|
// 金额对账相关配置(统一按分取整后做比较,避免浮点误差)。
|
|
'amounts' => [
|
|
// 允许的金额差异容差(单位:元),默认 0.01。
|
|
// 用于对账不一致、退款不一致等口径判断。
|
|
'tolerance' => 0.01,
|
|
],
|
|
];
|