feat: Qzone支持上传图片(发说说、评论附图) (#152)

* feat(core,onebot,protocol): support publish shuoshuo and comment with image

* Fix: Accidentally changed notes
This commit is contained in:
Airline233 authored and GitHub committed 2026-06-30 01:47:21 +08:00
1 parent 547640bbfd
commit 62eb8fd763
9 files changed
+658 -28

No files matched your search

+44 -2
View File
@@ -603,7 +603,7 @@ export const ACTIONS: CatalogAction[] = [
{
"name": "comment_qzone",
"aliases": [],
"summary": "评论一条说说(QQ 空间)",
"summary": "评论一条说说(QQ 空间,支持纯文字或带图;传 images 自动上传)",
"readOnly": false,
"params": [
{
@@ -635,6 +635,19 @@ export const ACTIONS: CatalogAction[] = [
"minimum": 1
},
"desc": "说说所属 QQ 号,省略则为机器人自己"
},
{
"name": "images",
"type": "string[]",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"desc": "图片数组(可选),支持 file:// http:// base64://;自动上传"
}
],
"invariants": [],
@@ -655,6 +668,14 @@ export const ACTIONS: CatalogAction[] = [
"type": "integer",
"minimum": 1,
"description": "说说所属 QQ 号,省略则为机器人自己"
},
"images": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "图片数组(可选),支持 file:// http:// base64://;自动上传"
}
},
"required": [
@@ -6724,7 +6745,7 @@ export const ACTIONS: CatalogAction[] = [
{
"name": "send_qzone_msg",
"aliases": [],
"summary": "发表一条纯文字说说(QQ 空间)",
"summary": "发表说说(QQ 空间,支持纯文字或带图;传 images 自动上传)",
"readOnly": false,
"params": [
{
@@ -6736,6 +6757,19 @@ export const ACTIONS: CatalogAction[] = [
"minLength": 1
},
"desc": "说说正文"
},
{
"name": "images",
"type": "string[]",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"desc": "图片数组(可选),支持 file:// http:// base64://;自动上传"
}
],
"invariants": [],
@@ -6746,6 +6780,14 @@ export const ACTIONS: CatalogAction[] = [
"type": "string",
"minLength": 1,
"description": "说说正文"
},
"images": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "图片数组(可选),支持 file:// http:// base64://;自动上传"
}
},
"required": [