Go to file
cc 58bed0ae44 feat(server): 登录与开发者入口门改走 MySQL
UserStore/DevGate 不再写死,改为从 MySQL 实时查询(每次校验一条索引查询、
不缓存整表,照顾内存):
- 新增 db_pool_from_env(),UserStore 与 DevGate 共用一个 sqlx 懒连接池
- verify() 查 ccuser 表、allows() 查 dev_gate 表,均改为 async
- 未设置 DATABASE_URL 时各自回退到内置/文件兜底,便于本地无库开发

连接串经环境变量 DATABASE_URL 注入(线上写在 weather.env)。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 20:43:23 +08:00
Client feat: 导航起始页 + 天气/定位 + 天气动态效果 2026-06-18 20:13:18 +08:00
docs docs: 天气定位失败时不兜底、不显示 2026-06-18 20:35:54 +08:00
Server feat(server): 登录与开发者入口门改走 MySQL 2026-06-20 20:43:23 +08:00
.gitignore feat: 导航起始页 + 天气/定位 + 天气动态效果 2026-06-18 20:13:18 +08:00