配置化:同步失败原因链接长度阈值

This commit is contained in:
萝卜
2026-03-11 09:59:45 +00:00
parent dac88217bd
commit 0b36ae8baf
2 changed files with 10 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
@section('content')
@php
// 失败原因过长时不生成 sync_error_keyword 链接,避免 URL 过长/特殊字符破坏 query
$SYNC_ERROR_KEYWORD_LINK_MAX_LEN = 200;
$SYNC_ERROR_KEYWORD_LINK_MAX_LEN = (int) config('saasshop.platform_orders.sync_error_keyword_link_max_len', 200);
@endphp
<div class="card mb-20">
<p class="muted muted-tight">这里是总台视角的平台收费主链骨架页,当前阶段先承接套餐订购 / 续费 / 生效跟踪。</p>