feat: 用户条款+隐私协议#81
Merged
jiangmuran merged 1 commit intomainfrom Apr 9, 2026
Merged
Conversation
- 新增 docs/terms.html 服务条款页面(中文,含服务说明、免责声明、数据说明等) - 新增 docs/privacy.html 隐私政策页面(中文,含信息收集、本地存储、匿名数据等) - backend/app/main.py 添加 /terms 和 /privacy 路由,排除 SPA 中间件拦截 - frontend Home.tsx 桌面端底部添加服务条款和隐私政策链接 - frontend vite.config.ts 添加 /terms 和 /privacy 的开发代理
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/terms) 和隐私政策页面 (/privacy),中文内容,独立 HTML,样式与白皮书一致(Inter + Noto Sans SC 字体,#ff2442 红色主题)main.py新增/terms和/privacy路由,并排除 SPA 中间件拦截/terms和/privacy转发Changed files
docs/terms.html— 服务条款页面(新建)docs/privacy.html— 隐私政策页面(新建)backend/app/main.py— 新增路由 + SPA 中间件排除frontend/src/pages/Home.tsx— 底部法律链接frontend/vite.config.ts— 开发代理配置Test plan
/terms确认服务条款页面正常渲染/privacy确认隐私政策页面正常渲染