- CORS 中间件改用 AllowOriginFunc 回显具体 origin,替代 AllowAllOrigins:* - userRoute 添加 CORS 中间件,登录接口支持跨域请求 - Widget fetch 移除 credentials: 'include',无需 Cookie
- 新增 web/widget/ 独立 Vite 构建,IIFE 格式打包 - Shadow DOM 样式隔离,支持 light/dark 主题 - 调用现有 /api/user/login 接口,零后端改动 - 构建产物 web/dist/static/login-widget.js (146KB)