From 4912aa4df0533613275478e2ffb6f087e3241636 Mon Sep 17 00:00:00 2001
From: Linghong
Date: Thu, 24 Sep 2026 16:08:42 +0000
Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=88=9B=E4=BD=9C=E9=A6=96?=
=?UTF-8?q?=E9=A1=B5=E7=99=BB=E5=BD=95=E9=80=81=E6=B3=A5=E7=82=B9=E8=90=A5?=
=?UTF-8?q?=E9=94=80=E6=96=87=E6=A1=88=20=E5=88=A0=E9=99=A4=20CreationLand?=
=?UTF-8?q?ingView=20hero=20=E5=8C=BA=E2=80=9C=E7=99=BB=E5=BD=95=E5=8D=B3?=
=?UTF-8?q?=E9=80=81=20100=20=E6=B3=A5=E7=82=B9=EF=BC=8C=E5=8F=AF=E4=BB=A5?=
=?UTF-8?q?=E5=85=8D=E8=B4=B9=E5=88=B6=E4=BD=9C=2050=20=E4=B8=AA=E7=B4=A0?=
=?UTF-8?q?=E6=9D=90=E2=80=9D=E6=96=87=E6=A1=88=20=E5=88=A0=E9=99=A4=20Cre?=
=?UTF-8?q?ationLandingView.test.tsx=20=E4=B8=AD=E5=AF=B9=E5=BA=94?=
=?UTF-8?q?=E7=9A=84=E6=96=87=E6=A1=88=E6=96=AD=E8=A8=80=20=E6=B8=85?=
=?UTF-8?q?=E7=90=86=20index.css=20=E4=B8=AD=E5=B7=B2=E6=97=A0=E8=B0=83?=
=?UTF-8?q?=E7=94=A8=E6=96=B9=E7=9A=84=20creation-landing=5F=5Fhero-benefi?=
=?UTF-8?q?t=20=E6=A0=B7=E5=BC=8F=20=E6=9B=B4=E6=AD=A3=20decision-log=20?=
=?UTF-8?q?=E4=B8=AD=E5=B7=B2=E8=BF=87=E6=9C=9F=E7=9A=84=E2=80=9C=E6=B3=A8?=
=?UTF-8?q?=E5=86=8C=E8=B5=A0=E9=80=81=E5=9B=BA=E5=AE=9A=E4=B8=BA=20100=20?=
=?UTF-8?q?=E6=B3=A5=E7=82=B9=E2=80=9D=E5=86=B3=E7=AD=96=E8=AE=B0=E5=BD=95?=
=?UTF-8?q?=EF=BC=8C=E6=B3=A8=E6=98=8E=E9=87=91=E9=A2=9D=E7=94=B1=E7=BA=BF?=
=?UTF-8?q?=E4=B8=8A=E9=92=B1=E5=8C=85=E9=85=8D=E7=BD=AE=E5=86=B3=E5=AE=9A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../project-memory/shared-memory/decision-log.md | 2 +-
.../creation-home/CreationLandingView.test.tsx | 3 ---
.../creation-home/CreationLandingView.tsx | 3 ---
src/index.css | 16 +---------------
4 files changed, 2 insertions(+), 22 deletions(-)
diff --git a/docs/project-memory/shared-memory/decision-log.md b/docs/project-memory/shared-memory/decision-log.md
index 53b75ec40..28d8e2a64 100644
--- a/docs/project-memory/shared-memory/decision-log.md
+++ b/docs/project-memory/shared-memory/decision-log.md
@@ -2884,7 +2884,7 @@ CI 上 `background_agent_runtime_recovers_stale_running_before_pending_task` 在
## 2026-06-22 编辑器生成扣费与新用户赠送收口
- 背景:画板多个生成按钮已经展示泥点消耗,但部分图片、图标、UI 提取、视频、角色动作或音频链路只校验 / 展示价格,没有统一进入钱包预扣;新用户注册送泥点也需要与当前生成价格匹配。
-- 决策:编辑器所有外部生成入口不再从前端请求接收 `priceMudPoints`,后端按运行时模型定价配置计算价格后统一进入 `execute_billable_asset_operation_with_cost` 或等价音频发布扣费链路;角色动作和视频使用真实登录用户作为扣费 owner。新用户注册赠送固定为 `100` 泥点。
+- 决策:编辑器所有外部生成入口不再从前端请求接收 `priceMudPoints`,后端按运行时模型定价配置计算价格后统一进入 `execute_billable_asset_operation_with_cost` 或等价音频发布扣费链路;角色动作和视频使用真实登录用户作为扣费 owner。~~新用户注册赠送固定为 `100` 泥点。~~(2026-09-24 更正:注册赠送金额不是固定值,由线上 `profile_wallet_config.initial_mud_points` 配置决定,后台通过 `/admin/api/profile/wallet-config` 与钱包配置页随时调整;代码内常量仅为未写入配置时的兜底默认,本地编译行为不代表线上实际赠送金额,线上数值以配置表当前值为准。契约说明见 [`docs/【后端架构】server-rs与SpacetimeDB数据契约-2026-05-15.md`](../../【后端架构】server-rs与SpacetimeDB数据契约-2026-05-15.md)。)
- 影响范围:编辑器图片 / 图片修改 / 图标 spritesheet / UI 提取 / 视频 / 角色动作 / 音频生成 BFF,前端画板生成提交模型,外部 OpenAPI,`module-runtime` 钱包注册奖励。
- 验证方式:运行编辑器图片、图标、UI 提取、视频、角色动作、音频扣费结构性测试,前端生成提交和 API client 测试,`module-runtime` 注册奖励测试。
- 关联文档:`docs/【编辑器】模型定价配置管理方案-2026-06-22.md`、`docs/【编辑器】生成类面板Lovart统一改造方案-2026-06-17.md`、`docs/【后端架构】server-rs与SpacetimeDB数据契约-2026-05-15.md`。
diff --git a/src/components/creation-home/CreationLandingView.test.tsx b/src/components/creation-home/CreationLandingView.test.tsx
index d0c59ef83..3025d17be 100644
--- a/src/components/creation-home/CreationLandingView.test.tsx
+++ b/src/components/creation-home/CreationLandingView.test.tsx
@@ -208,9 +208,6 @@ describe('CreationLandingView', () => {
expect(subtitle.textContent).toContain('美术 Agent');
expect(subtitle.textContent).toContain('无限画布');
expect(subtitle.textContent).toContain('角色、场景、UI 与宣发素材');
- expect(
- screen.getByText('登录即送 100 泥点,可以免费制作 50 个素材'),
- ).toBeTruthy();
expect(
screen.getByRole('heading', {
level: 2,
diff --git a/src/components/creation-home/CreationLandingView.tsx b/src/components/creation-home/CreationLandingView.tsx
index 8edad3daa..587b94238 100644
--- a/src/components/creation-home/CreationLandingView.tsx
+++ b/src/components/creation-home/CreationLandingView.tsx
@@ -1418,9 +1418,6 @@ export function CreationLandingView({
用美术 Agent 与无限画布,快速制作角色、场景、UI 与宣发素材。
-
- 登录即送 100 泥点,可以免费制作 50 个素材
-