迁移求婚弹窗组件脚本

This commit is contained in:
2026-04-25 19:15:52 +08:00
parent e53f2f5d9d
commit 5b6f687db6
4 changed files with 128 additions and 106 deletions
+2
View File
@@ -114,6 +114,8 @@
'statusUrl' => route('marriage.status'),
'targteStatusUrl' => '/marriage/target',
'myRingsUrl' => route('marriage.rings'),
'weddingTiers' => \App\Models\WeddingTier::query()->where('is_active', true)->orderBy('amount')->get(),
'defaultWeddingTierId' => \App\Models\WeddingTier::query()->where('is_active', true)->orderBy('amount')->value('id') ?? '',
'acceptUrlTemplate' => '/marriage/__ID__/accept',
'rejectUrlTemplate' => '/marriage/__ID__/reject',
'divorceUrlTemplate' => '/marriage/__ID__/divorce',