zhengBoss 894c3124ac feat(doc): 添加文档分类和篡改检测功能支持base64图片上传
- 在BaseController中新增normalizeBase64Image方法处理多种base64图片格式
- 重构DocClassifyController支持imageBase64参数并添加URL编码处理
- 将ForgeryDetectionController从命令模式改为直接调用百度API
- 添加URLEncoder对图片参数进行编码防止传输错误
- 新增ForgeDetectionController的完整单元测试覆盖多种场景
- 添加DocClassifyController的base64图片上传测试用例
- 创建TestConstant统一管理测试用的图片资源
- 移除不再使用的内部DTO转换逻辑简化代码结构
2026-06-07 20:16:43 +08:00
..