Files
ai-learning-platform/mobile/src/pages.json
T
yuzhiran-dev 538de50bb1 注册支持用户名/手机号/邮箱 + 镜像站部署脚本 + AI 助手 Tool Calling 重构
- Prisma User 模型新增 username 字段(唯一索引)
- 注册先查重复再创建,返回友好中文提示(非 500)
- 登录支持用户名/手机号/邮箱三种方式
- 前端注册表单增加用户名输入框,预校验 2-20 位格式
- 新增 scripts/deploy.sh:一键构建并部署主站+镜像站+重启后端+重载 Nginx
- 镜像站 www.yuzhiran.com.cn Nginx 配置与主站同步
- AI 助手架构升级:用户端/管理后台均采用完整 Tool Calling 架构
- 新增 UserAiAssistantService(18 工具)+ AiAssistantController
- admin 助手新增 search + mark-all-notifications-read 工具
- 修复注册 500 错误:catch Prisma P2002 → BadRequestException
- Baidu Analytics Script 注入 root layout
2026-06-01 23:14:42 +08:00

43 lines
2.3 KiB
JSON
Executable File

{
"pages": [
{"path": "pages/index/index", "style": {"navigationBarTitleText": "宇之然 AI"}},
{"path": "pages/login/index", "style": {"navigationBarTitleText": "登录"}},
{"path": "pages/register/index", "style": {"navigationBarTitleText": "注册"}},
{"path": "pages/courses/index", "style": {"navigationBarTitleText": "课程"}},
{"path": "pages/course-detail/index", "style": {"navigationBarTitleText": "课程详情"}},
{"path": "pages/lesson/index", "style": {"navigationBarTitleText": "学习"}},
{"path": "pages/prompts/index", "style": {"navigationBarTitleText": "提示词"}},
{"path": "pages/prompt-detail/index", "style": {"navigationBarTitleText": "提示词详情"}},
{"path": "pages/community/index", "style": {"navigationBarTitleText": "社区"}},
{"path": "pages/post-detail/index", "style": {"navigationBarTitleText": "帖子详情"}},
{"path": "pages/create-post/index", "style": {"navigationBarTitleText": "发布帖子"}},
{"path": "pages/sandbox/index", "style": {"navigationBarTitleText": "AI 沙箱"}},
{"path": "pages/circles/index", "style": {"navigationBarTitleText": "圈子"}},
{"path": "pages/circle-detail/index", "style": {"navigationBarTitleText": "圈子详情"}},
{"path": "pages/search/index", "style": {"navigationBarTitleText": "搜索"}},
{"path": "pages/profile/index", "style": {"navigationBarTitleText": "我的"}},
{"path": "pages/membership/index", "style": {"navigationBarTitleText": "会员中心"}},
{"path": "pages/favorites/index", "style": {"navigationBarTitleText": "我的收藏"}},
{"path": "pages/learning-progress/index", "style": {"navigationBarTitleText": "学习进度"}}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "宇之然 AI",
"navigationBarBackgroundColor": "#ffffff",
"backgroundColor": "#f5f5f5"
},
"tabBar": {
"color": "#999",
"selectedColor": "#4f8cff",
"backgroundColor": "#ffffff",
"borderStyle": "black",
"list": [
{"pagePath": "pages/index/index", "text": "首页"},
{"pagePath": "pages/courses/index", "text": "课程"},
{"pagePath": "pages/community/index", "text": "社区"},
{"pagePath": "pages/sandbox/index", "text": "沙箱"},
{"pagePath": "pages/profile/index", "text": "我的"}
]
}
}