Commit Graph

3 Commits

Author SHA1 Message Date
李鹏宇
63449893ca fix(game_base): 修复登录注册与 Odoo 18 鉴权对齐 + world.html 登录闸门
- game_api.py: request.session.authenticate 改为 Odoo 18 签名
  authenticate(db, {'type':'password','login':...,'password':...}),
  修复此前多传参数导致的 500 / Access Denied
- game_api.py: 注册成功后先 commit 再自动登录(避免新用户事务未提交导致 Access Denied)
- game_api.py: 登录 authenticate 包 try/except,错误密码返回干净报错而非 500
- world.html: 新增登录闸门——未登录跳转 login.html?next=world.html,
  已登录显示左上角昵称+退出;进入游戏即需登录(与 Odoo 打通)
2026-07-23 16:44:15 +08:00
李鹏宇
1bb178c4af refactor(assets): 整理背景素材到 assets/bg 目录,同步 world.html 引用路径;移除冗余 keyart 素材 2026-07-23 15:38:42 +08:00
pengyuthon
954cbc6823 feat: 沙盘游戏核心运行时文件上线 + 微观世界加载页UI优化
- 提交 world.html 及 assets/(地形贴图/背景/视频/js)、index/login/terrain_preview
- world.html: 微观世界入场加载页重构为左下角提示药丸 + 全宽进度条
- 排除 .bak/__bak 备份文件(.gitignore)
2026-07-23 12:58:22 +08:00