chiguyong
|
b41da42d74
|
feat(geo): U1-U9 monetization closed loop implementation
U1: GEO diagnosis auto data collection (DataCollectorService + 11 tests)
U2: Free GEO health score public page (HealthScoreAPI + 7 tests)
U3: Onboarding redesign with conversion layer (Step0 + UpgradePrompt + 14 tests)
U4: Real payment integration (WeChat/Alipay gateway + PaymentOrder + 12 tests)
U5: AI content generation & distribution (Publishers + PublishEngine + 11 tests)
U6: Attribution system & ROI reports (AttributionEngine + ROICalculator + 12 tests)
U7: Email integration & Dashboard monetization UI (EmailScheduler + templates + 22 tests)
U8: Integration tests & shared fixtures (monetization flow + fixture consolidation + 12 tests)
U9: E2E smoke tests (HealthScorePage + acquisition/core flow + 4 E2E cases)
Total: 101 new backend tests passing, 4 E2E test cases
All third-party integrations use mock mode by default with config center management
|
2026-06-01 07:39:05 +08:00 |
chiguyong
|
aeaa50e89e
|
fix: 审计发现的问题修复
API一致性修复:
- C1: 新增organization.py路由(/api/v1/organization/*)
- C2: 修复suggestions API路径(/api/v1/brands/*而非/api/v1/suggestions/*)
- H7: 修复platforms路由双重前缀(/api/v1/platforms而非/api/v1/api/platforms)
密钥管理改进:
- H3: APIKeyManager支持双密钥(dict格式),文心一言适配器使用KeyManager
- H8: 新增APIKeyFilter日志过滤器,拦截key=和Bearer token
异常处理改进:
- H1: batch_query.py改为httpx.HTTPError分层处理
- H1: database.py改为SQLAlchemyError并抛出ConnectionError
- H1: lifecycle.py和usage_tracker添加日志记录
测试: 764 passed
|
2026-05-25 23:33:25 +08:00 |
chiguyong
|
9e63915f42
|
✨ feat: 完成系统真实化改造 + Mock清除 + 文档编写
- 实现 Onboarding 后端 API(6个端点完整对接)
- 接入百炼 DashScope LLM(qwen3-coder-plus 真实引用检测)
- 修复知识库 MockEmbedder(自动检测 API Key 切换真实 Embedder)
- 内容生成对接 RAG 知识库检索
- 清除前端 onboarding 硬编码假数据(改为错误提示+重试)
- 移除模拟加载延迟(setTimeout)
- Pipeline dry-run 模式添加生产环境告警
- 添加操作流程文档和后续待办事项文档
- 更新 .gitignore 排除测试产物和临时文件
|
2026-05-23 21:35:10 +08:00 |
chiguyong
|
84ed5bf31a
|
feat: GEO平台P0-P1核心功能重构
|
2026-05-23 09:34:58 +08:00 |
chiguyong
|
47879a11f7
|
feat: 完整功能补全 - 用户管理/订阅付费/安全限流/管理后台/PDF报告/文档
用户管理增强:
- 邮箱验证(模拟模式)、密码找回、密码修改、个人资料编辑
- 新增 forgot-password/reset-password/verify-email 页面
- Settings 页重构为 Tab 布局
订阅与模拟付费:
- 4个套餐(免费/入门/专业/企业)完整管理
- 模拟支付流程、升级/降级/取消
- 订阅历史记录
安全与限流:
- 接口限流中间件(认证5次/分、全局100次/分)
- 安全响应头(X-Content-Type-Options等)
- 请求日志中间件
管理后台:
- 系统统计(用户数/查询数/引用率/活跃用户)
- 用户管理(列表/搜索/启禁用/修改套餐)
- Admin权限控制
报告增强:
- PDF报告导出(中文支持、封面、统计、表格)
- 报告预览页(统计卡片+最近记录)
项目文档:
- README.md 完整重写
- 后端/前端独立 README
E2E测试: 10/10 全部通过
|
2026-04-24 10:28:43 +08:00 |