配置化:同步失败原因TOPN与展示截断长度
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 平台订单列表中“同步失败原因”链接的最大长度阈值。
|
||||
// 失败原因过长时不生成 sync_error_keyword 链接,避免 URL 过长/特殊字符破坏 query。
|
||||
'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,
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user