Go to file
李鹏宇 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
addons fix(game_base): 修复登录注册与 Odoo 18 鉴权对齐 + world.html 登录闸门 2026-07-23 16:44:15 +08:00
assets refactor(assets): 整理背景素材到 assets/bg 目录,同步 world.html 引用路径;移除冗余 keyart 素材 2026-07-23 15:38:42 +08:00
website feat: consolidate game_base module into addons/ + frontend assets 2026-07-23 14:14:25 +08:00
.gitignore merge: integrate game_base module into addons/ 2026-07-23 14:21:53 +08:00
index.html feat: 沙盘游戏核心运行时文件上线 + 微观世界加载页UI优化 2026-07-23 12:58:22 +08:00
login.html feat: 沙盘游戏核心运行时文件上线 + 微观世界加载页UI优化 2026-07-23 12:58:22 +08:00
README.md init: game addons structure 2026-07-07 16:58:57 +08:00
terrain_preview.html feat: 沙盘游戏核心运行时文件上线 + 微观世界加载页UI优化 2026-07-23 12:58:22 +08:00
world.html fix(game_base): 修复登录注册与 Odoo 18 鉴权对齐 + world.html 登录闸门 2026-07-23 16:44:15 +08:00

宇森 (YuSen) - Game Addons

Odoo 模块仓库,为宇森文明经营游戏提供后端支持。

结构

    • Odoo 自定义模块
  • 模块命名规范:

技术栈

  • Odoo 18
  • PostgreSQL
  • HTML5 Canvas (前端)