Admin subscriptions: batch mark expired with safety guards

This commit is contained in:
萝卜
2026-03-17 00:27:04 +08:00
parent 0e8a9797b9
commit 7b143e1a11
6 changed files with 271 additions and 1 deletions

View File

@@ -54,7 +54,8 @@ class AdminSiteSubscriptionSyncFailedReasonLongDoesNotRenderKeywordLinkTest exte
'activated_at' => now()->subDay(),
]);
$longReason = str_repeat('错', 120);
// 超过 config('saasshop.platform_orders.sync_error_keyword_link_max_len', 200)
$longReason = str_repeat('错', 220);
PlatformOrder::query()->create([
'merchant_id' => $merchant->id,