Commit e62b80d2 authored by rockyl's avatar rockyl

补充

parent ef570dc1
{
"name": "放置数据",
"props": {
"name": {
"type": "string",
"alias": "名称"
},
"path": {
"type": "string",
"alias": "路径"
}
},
"output": [
"success"
],
"desc": "在数据中心放置数据",
"id": "put-data",
"script": "engine.gameStage.dataCenter.mutate(props.name, args, props.path);\nnext('success', args);\n",
"group": "base",
"type": "builtin"
}
{
"name": "兑吧接口",
"desc": "通用兑吧接口",
"props": {
"url": {
"type": "string",
"enum": [],
"alias": "链接"
},
"method": {
"type": "enum",
"enum": [
"get",
"post"
],
"alias": "方法",
"default": "get"
},
"name": {
"type": "string",
"enum": [],
"alias": "数据名"
}
},
"output": [
"success",
"failed"
],
"sub": {
"8fe4ca2c-8cf1-4f9a-b302-82c830d15647": {
"uuid": "8fe4ca2c-8cf1-4f9a-b302-82c830d15647",
"meta": "entry",
"design": {
"x": 10,
"y": 10,
"input": {},
"output": {
"success": [
{
"x": 124.5,
"y": 11
}
]
}
},
"props": {},
"output": {
"success": [
"5f66a293-aa9f-4bb1-bfa8-d9286548df6f"
]
}
},
"5f66a293-aa9f-4bb1-bfa8-d9286548df6f": {
"uuid": "5f66a293-aa9f-4bb1-bfa8-d9286548df6f",
"meta": "http-request",
"design": {
"x": 98,
"y": 103,
"input": {
"default": [
{
"x": 5.5,
"y": 28
}
]
},
"output": {
"success": [
{
"x": 124.5,
"y": 14
}
],
"failed": [
{
"x": 124.5,
"y": 28
}
],
"exception": [
{
"x": 124.5,
"y": 42
}
]
}
},
"props": {
"url": "$_linked_$",
"method": "$_linked_$"
},
"output": {
"success": [
"fbaae92e-d20c-4dc2-8801-37cb224f358b"
]
}
},
"fbaae92e-d20c-4dc2-8801-37cb224f358b": {
"uuid": "fbaae92e-d20c-4dc2-8801-37cb224f358b",
"meta": "duiba-api-transform",
"design": {
"x": 148,
"y": 269,
"input": {
"default": [
{
"x": 5.5,
"y": 11
}
]
},
"output": {
"success": [
{
"x": 124.5,
"y": 4
}
],
"failed": [
{
"x": 124.5,
"y": 18
}
]
}
},
"props": {},
"output": {
"success": [
"91fd3e42-4922-4fc2-ac0e-bc8f8875349c"
]
}
},
"91fd3e42-4922-4fc2-ac0e-bc8f8875349c": {
"uuid": "91fd3e42-4922-4fc2-ac0e-bc8f8875349c",
"meta": "put-data",
"design": {
"x": 213,
"y": 372,
"input": {
"default": [
{
"x": 5.5,
"y": 28
}
]
},
"output": {
"success": [
{
"x": 124.5,
"y": 28
}
]
}
},
"props": {
"name": "$_linked_$"
},
"output": {}
}
},
"subEntry": "8fe4ca2c-8cf1-4f9a-b302-82c830d15647",
"id": "duiba-api",
"script": "next('success');\n",
"group": "duiba",
"type": "builtin"
}
/**
* Created by rockyl on 2019-11-16.
*/
engine.gameStage.dataCenter.mutate(props.name, args, props.path);
next('success', args);
{
"name": "放置数据",
"props": {
"name": {
"type": "string",
"alias": "名称"
},
"path": {
"type": "string",
"alias": "路径"
}
},
"output": [
"success"
],
"desc": "在数据中心放置数据"
}
/**
* Created by rockyl on 2019-11-16.
*/
next('success');
{
"name": "兑吧接口",
"desc": "通用兑吧接口",
"props": {
"url": {
"type": "string",
"enum": [],
"alias": "链接"
},
"method": {
"type": "enum",
"enum": [
"get",
"post"
],
"alias": "方法",
"default": "get"
},
"name": {
"type": "string",
"enum": [],
"alias": "数据名"
}
},
"output": [
"success",
"failed"
],
"sub": {
"8fe4ca2c-8cf1-4f9a-b302-82c830d15647": {
"uuid": "8fe4ca2c-8cf1-4f9a-b302-82c830d15647",
"meta": "entry",
"design": {
"x": 10,
"y": 10,
"input": {},
"output": {
"success": [
{
"x": 124.5,
"y": 11
}
]
}
},
"props": {},
"output": {
"success": [
"5f66a293-aa9f-4bb1-bfa8-d9286548df6f"
]
}
},
"5f66a293-aa9f-4bb1-bfa8-d9286548df6f": {
"uuid": "5f66a293-aa9f-4bb1-bfa8-d9286548df6f",
"meta": "http-request",
"design": {
"x": 98,
"y": 103,
"input": {
"default": [
{
"x": 5.5,
"y": 28
}
]
},
"output": {
"success": [
{
"x": 124.5,
"y": 14
}
],
"failed": [
{
"x": 124.5,
"y": 28
}
],
"exception": [
{
"x": 124.5,
"y": 42
}
]
}
},
"props": {
"url": "$_linked_$",
"method": "$_linked_$"
},
"output": {
"success": [
"fbaae92e-d20c-4dc2-8801-37cb224f358b"
]
}
},
"fbaae92e-d20c-4dc2-8801-37cb224f358b": {
"uuid": "fbaae92e-d20c-4dc2-8801-37cb224f358b",
"meta": "duiba-api-transform",
"design": {
"x": 148,
"y": 269,
"input": {
"default": [
{
"x": 5.5,
"y": 11
}
]
},
"output": {
"success": [
{
"x": 124.5,
"y": 4
}
],
"failed": [
{
"x": 124.5,
"y": 18
}
]
}
},
"props": {},
"output": {
"success": [
"91fd3e42-4922-4fc2-ac0e-bc8f8875349c"
]
}
},
"91fd3e42-4922-4fc2-ac0e-bc8f8875349c": {
"uuid": "91fd3e42-4922-4fc2-ac0e-bc8f8875349c",
"meta": "put-data",
"design": {
"x": 213,
"y": 372,
"input": {
"default": [
{
"x": 5.5,
"y": 28
}
]
},
"output": {
"success": [
{
"x": 124.5,
"y": 28
}
]
}
},
"props": {
"name": "$_linked_$"
},
"output": {}
}
},
"subEntry": "8fe4ca2c-8cf1-4f9a-b302-82c830d15647"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment