* 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 说明文档,完善教程
16 lines
313 B
JSON
16 lines
313 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"mcp__context7__resolve-library-id",
|
|
"mcp__context7__get-library-docs",
|
|
"Bash(go mod:*)",
|
|
"Bash(go build:*)",
|
|
"Bash(go get:*)",
|
|
"Bash(go list:*)",
|
|
"Bash(go test:*)",
|
|
"Bash(rmdir:*)",
|
|
"Bash(rm:*)"
|
|
],
|
|
"deny": []
|
|
}
|
|
} |