docs(product): integrate implemented community and teaching boundaries
This commit is contained in:
1 parent
0d442ce576
commit
12af6aed5d
13 files changed
+129
-9
No files matched your search
@@ -14,6 +14,8 @@ Renderer 自由输入/空输入框上方已发布快捷提示(历史缺字
|
||||
|
||||
## Permanent wallet and recharge
|
||||
|
||||
家长登录孩子账号 → Sidebar 将当前账号显示名传给 PointWallet → 核对收款对象后按服务端资格充值。课程观看和任务作品关联只在社区网页完成,不向客户端传课程上下文;参见[协作边界](community-collaboration.md)。
|
||||
|
||||
账号菜单 / PointWallet → `src/lib/works-billing.ts` → Main 固定 `/api/works/billing/*` 路由 → Works Square 账务 API。Main 持有认证与账号绑定,通过 `shared/works-billing.ts` 的公开 DTO 投影余额、产品、订单及流水;充值沿用 Renderer capability,Renderer 不传付款人、价格、Token 或任意上游地址。账号切换后 Main 与账号绑定的 UI 丢弃迟到结果,打开菜单和窗口 focus 刷新当前账号。
|
||||
|
||||
本人点数与 AI 编程已选付款来源分开呈现。`shared_available` 为布尔值时只向 Renderer 提供另一付款方的可用性,精确余额置空;为 `null` 时保留本人规范字符串余额,即使 `family_shared=true` 且来源为 `self` / `shared_group`。充值资格来自服务端,不能用旧会员管理权限或共享标记推算。云智能体创建者付款与 Plugin 个人付款不受 AI 编程来源选择改变。
|
||||
|
||||
Reference in new issue
Block a user