Commit Graph

2 Commits

Author SHA1 Message Date
zy
90a6b5cccd test: 添加防盗链图片下载测试 (#417)
验证 PR #412 的修改,使用真实 URL 测试 User-Agent 和 Referer 是否有效。

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-14 01:05:50 +08:00
zy
58faab15c4 mcp: add image url support (#1)
* refactor: remove redundant validation in service and clean up code

- Remove validatePublishRequest function as gin binding already handles validation
- Remove unused errors import
- Simplify PublishContent method by relying on gin's built-in validation
- Add comprehensive image processing support with URL download capability

* 添加 MCP 说明文档,完善教程
2025-08-10 15:44:15 +08:00