chore(admin-site-subscription): failed reason keyword max len uses config

This commit is contained in:
萝卜
2026-03-16 18:11:31 +08:00
parent 6123aeb33b
commit 1c5f56bee0
2 changed files with 115 additions and 1 deletions

View File

@@ -339,7 +339,8 @@
@php
$bmpaFailedReasonStats = $bmpaFailedReasonStats ?? [];
// 避免 URL 过长/特殊字符破坏 query原因过长则不生成 keyword 链接
$FAILED_REASON_KEYWORD_MAX_LEN = 80;
// 与列表页/仪表盘/订单详情保持一致:由 config 统一控制阈值。
$FAILED_REASON_KEYWORD_MAX_LEN = (int) config('saasshop.platform_orders.sync_error_keyword_link_max_len', 200);
@endphp
@if(count($bmpaFailedReasonStats) > 0)
<div class="muted mt-6">