ai_v/services
24024 3d479c52e7 ```
feat(api): 新增AI生成内容检测功能

- 添加aigc-detect路由接口,用于检测图像是否为AI生成内容
- 集成阿里云AIGC检测服务,配置相关API参数
- 实现积分扣除机制,每次检测消耗1积分

feat(frontend): 前端集成AI生成检测UI组件

- 添加formatAigcDetectionResult函数用于格式化检测结果显示
- 实现detectAigcImage函数处理检测请求和响应
- 在图片展示区域添加AI生成检测按钮和结果展示框
- 更新图片容器布局,优化下载按钮显示效果

refactor(service): 优化积分管理逻辑

- 新增try_deduct_points函数实现积分预检查和扣除
- 改进错误处理机制,确保数据库事务安全

refactor(history): 过滤AI检测记录

- 在历史记录查询中排除AI生成检测类型的数据
- 使用image_urls字段过滤检测相关的记录
```
2026-05-16 23:11:08 +08:00
..
__init__.py feat: Implement core application structure with new services, blueprints, templates, and database migrations. 2026-01-17 23:15:58 +08:00
aigc_detector_service.py ``` 2026-05-16 23:11:08 +08:00
alipay_service.py feat(payment): 添加订单状态同步功能和主动查询接口 2026-01-23 17:40:23 +08:00
captcha_service.py feat: Implement a comprehensive user authentication system, add video generation capabilities, and set up database migrations and API blueprints. 2026-01-16 22:24:14 +08:00
file_service.py ``` 2026-02-02 17:05:31 +08:00
generation_service.py ``` 2026-05-16 23:11:08 +08:00
history_service.py ``` 2026-05-16 23:11:08 +08:00
logger.py feat: Add admin panel for system management, new authentication and payment blueprints, logger and stats services, and related model updates. 2026-01-18 21:09:43 +08:00
sms_service.py feat(api): 实现图像生成及后台同步功能 2026-01-12 00:53:31 +08:00
stats_service.py feat: Add admin panel for system management, new authentication and payment blueprints, logger and stats services, and related model updates. 2026-01-18 21:09:43 +08:00
system_service.py ``` 2026-04-24 23:42:12 +08:00
task_service.py ``` 2026-05-14 12:30:10 +08:00