174 lines
6.7 KiB
JSON
Raw Permalink Normal View History

2025-04-30 16:57:46 +08:00
{
"label": "任务",
"order": 2,
"blocks": [
{
"type": "All",
"name": "CacheDataBp",
"label": "缓存数据",
"description": "",
"inputParams": [
{
"name": "key",
"type": "String",
"label": "缓存key",
"description": "",
"required": true,
"defaultValue": null,
"options": []
},
{
"name": "value",
"type": "String",
"label": "缓存value",
"description": "",
"required": true,
"defaultValue": null,
"options": []
}
],
"extraInputParamsFunc": "",
"outputParams": {},
"contextVariables": {},
"children": {},
"hidden": false,
"scriptFunction": null,
"operatingInstructions": "## 缓存数据 (CacheDataBp)\n\n### 描述\n本块用于缓存数据。\n\n### 输入参数\n\n| 参数名 | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| key | 必填 | String | 缓存key |\n| value | 必填 | String | 缓存value |\n\n### 输出参数\n无\n"
},
{
"type": "All",
"name": "ClearCacheDataBp",
"label": "清除缓存数据",
"description": "",
"inputParams": [
{
"name": "key",
"type": "String",
"label": "key",
"description": "",
"required": true,
"defaultValue": null,
"options": []
}
],
"extraInputParamsFunc": "",
"outputParams": {},
"contextVariables": {},
"children": {},
"hidden": false,
"scriptFunction": null,
"operatingInstructions": "## 清除缓存数据 (ClearCacheDataBp)\n\n### 描述\n本块用于清除缓存数据。\n\n### 输入参数\n\n| 参数名 | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| key | 必填 | String | 缓存key |\n\n### 输出参数\n无\n"
},
{
"type": "All",
"name": "GetCacheDataBp",
"label": "获取缓存数据",
"description": "",
"inputParams": [
{
"name": "key",
"type": "String",
"label": "缓存key",
"description": "",
"required": true,
"defaultValue": null,
"options": []
}
],
"extraInputParamsFunc": "",
"outputParams": {},
"contextVariables": {
"value": {
"type": "String",
"label": "缓存的数据",
"description": null
}
},
"children": {},
"hidden": false,
"scriptFunction": null,
"operatingInstructions": "## 获取缓存数据 (GetCacheDataBp)\n\n### 描述\n本块用于获取缓存数据。\n\n### 输入参数\n\n| 参数名 | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| key | 必填 | String | 缓存key |\n\n### 输出参数\n\n| 参数名 | 类型 | 描述 |\n\n|---------|------|------|\n| value | String | 缓存的数据 |\n"
},
{
"type": "All",
"name": "SetTaskVariableBp",
"label": "设置任务变量",
"description": "",
"inputParams": [
{
"name": "varName",
"type": "String",
"label": "变量名",
"description": "",
"required": true,
"defaultValue": null,
"options": []
},
{
"name": "varValue",
"type": "Any",
"label": "变量值",
"description": "",
"required": true,
"defaultValue": null,
"options": []
}
],
"extraInputParamsFunc": "",
"outputParams": {},
"contextVariables": {},
"children": {},
"hidden": false,
"scriptFunction": null,
"operatingInstructions": "## 设置任务变量 (SetTaskVariableBp)\n\n### 描述\n本块用于设置任务变量。\n\n### 输入参数\n\n| 参数名 | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| varName | 必填 | String | 变量名 |\n| varValue | 必填 | Any | 变量值 |\n\n### 输出参数\n无\n"
},
{
"type": "All",
"name": "SkipToComponent",
"label": "跳到某个块",
"description": "",
"inputParams": [
{
"name": "skipComponentId",
"type": "String",
"label": "跳到块的标识",
"description": "",
"required": true,
"defaultValue": null,
"options": []
}
],
"extraInputParamsFunc": "",
"outputParams": {},
"contextVariables": {},
"children": {},
"hidden": false,
"scriptFunction": null,
"operatingInstructions": "## 跳到某个块 (SkipToComponent)\n\n### 描述\n本块用于跳到某个块。\n\n### 输入参数\n\n| 参数名 | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| skipComponentId | 必填 | String | 跳到块的标识 |\n\n### 输出参数\n无\n"
},
{
"type": "Normal",
"name": "TaskStateBp",
"label": "设置任务状态",
"description": "",
"inputParams": [
{
"name": "stateMsg",
"type": "String",
"label": "状态描述",
"description": "",
"required": true,
"defaultValue": null,
"options": []
}
],
"extraInputParamsFunc": "",
"outputParams": {},
"contextVariables": {},
"children": {},
"hidden": false,
"scriptFunction": null,
"operatingInstructions": "## 设置任务状态 (TaskStateBp)\n\n### 描述\n本块用于设置任务状态。\n\n### 输入参数\n\n| 参数名 | 是否必填 | 类型 | 描述 |\n\n|---------|---------|------|------|\n| stateMsg | 必填 | String | 状态描述 |\n\n### 输出参数\n无\n"
}
]
}