From dac88217bd2549a9733273dde21c476689168baa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Wed, 11 Mar 2026 09:53:36 +0000 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E8=AE=A2=E5=8D=95=EF=BC=9A?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E5=90=8C=E6=AD=A5=E5=A4=B1=E8=B4=A5=E5=8E=9F?= =?UTF-8?q?=E5=9B=A0=E9=93=BE=E6=8E=A5=E9=95=BF=E5=BA=A6=E9=98=88=E5=80=BC?= =?UTF-8?q?=E5=B8=B8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/admin/platform_orders/index.blade.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 10ed25e..f94e5d9 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -4,6 +4,10 @@ @section('page_title', '平台订单') @section('content') +@php + // 失败原因过长时不生成 sync_error_keyword 链接,避免 URL 过长/特殊字符破坏 query + $SYNC_ERROR_KEYWORD_LINK_MAX_LEN = 200; +@endphp

这里是总台视角的平台收费主链骨架页,当前阶段先承接套餐订购 / 续费 / 生效跟踪。

本页先提供可访问列表、基础筛选与摘要卡,后续再补详情、导出、支付记录与退款轨迹。

@@ -247,7 +251,7 @@ @if($reason !== '' && $reason !== '(空)') @php $reasonText = mb_substr($reason, 0, 60); - $reasonTooLong = mb_strlen($reason) > 200; + $reasonTooLong = mb_strlen($reason) > $SYNC_ERROR_KEYWORD_LINK_MAX_LEN; @endphp @if($reasonTooLong) @@ -597,7 +601,7 @@ @php $syncErrMsg = (string) (data_get($order->meta, 'subscription_activation_error.message') ?? ''); - $syncErrTooLong = $syncErrMsg !== '' && mb_strlen($syncErrMsg) > 200; + $syncErrTooLong = $syncErrMsg !== '' && mb_strlen($syncErrMsg) > $SYNC_ERROR_KEYWORD_LINK_MAX_LEN; @endphp @if($syncErrMsg !== '') @if($syncErrTooLong)