Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-process-lib
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
zeroing-process-lib
Commits
9c2e8a8c
Commit
9c2e8a8c
authored
Nov 19, 2019
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
内联过程实现
parent
636a22bd
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
171 additions
and
114 deletions
+171
-114
compare.json
dist/base/compare.json
+5
-5
get-data.json
dist/base/get-data.json
+21
-0
log.json
dist/base/log.json
+1
-1
duiba-api-transform.json
dist/duiba/duiba-api-transform.json
+0
-13
duiba-api.json
dist/duiba/duiba-api.json
+51
-33
index.ts
src/base/compare/index.ts
+9
-3
meta.json
src/base/compare/meta.json
+3
-3
index.ts
src/base/get-data/index.ts
+11
-0
meta.json
src/base/get-data/meta.json
+17
-0
index.ts
src/base/log/index.ts
+2
-5
index.ts
src/duiba/duiba-api-transform/index.ts
+0
-9
meta.json
src/duiba/duiba-api-transform/meta.json
+0
-9
meta.json
src/duiba/duiba-api/meta.json
+51
-33
No files found.
dist/base/compare.json
View file @
9c2e8a8c
...
@@ -4,18 +4,18 @@
...
@@ -4,18 +4,18 @@
"props"
:
{
"props"
:
{
"left"
:
{
"left"
:
{
"alias"
:
"左值"
,
"alias"
:
"左值"
,
"type"
:
"
any
"
,
"type"
:
"
data
"
,
"default"
:
""
"default"
:
""
},
},
"right"
:
{
"right"
:
{
"alias"
:
"右值"
,
"alias"
:
"右值"
,
"type"
:
"
any
"
,
"type"
:
"
data
"
,
"default"
:
""
"default"
:
""
},
},
"strict"
:
{
"strict"
:
{
"alias"
:
"严格模式"
,
"alias"
:
"严格模式"
,
"type"
:
"
any
"
,
"type"
:
"
boolean
"
,
"default"
:
""
"default"
:
false
},
},
"operator"
:
{
"operator"
:
{
"alias"
:
"操作符"
,
"alias"
:
"操作符"
,
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
"unequal"
"unequal"
],
],
"id"
:
"compare"
,
"id"
:
"compare"
,
"script"
:
"
setTimeout(function () {
\n
next('complete');
\n
}, args ? args.duration : (props.duration || 0)
);
\n
"
,
"script"
:
"
var leftValue = typeof props.left === 'object' ? args[props.left.path] : props.left;
\n
var rightValue = typeof props.right === 'object' ? args[props.right.path] : props.right;
\n
var operator = args ? args.operator : props.operator;
\n
if (operator.length === 2 && operator[operator.length - 1] === '=') {
\n
operator += '=';
\n
}
\n
var func = new Function('return ' + leftValue + operator + rightValue);
\n
var result = func();
\n
next(result ? 'equal' : 'unequal'
);
\n
"
,
"group"
:
"base"
,
"group"
:
"base"
,
"type"
:
"builtin"
"type"
:
"builtin"
}
}
dist/base/get-data.json
0 → 100644
View file @
9c2e8a8c
{
"name"
:
"获取数据"
,
"desc"
:
"从数据中心获取数据,优先判断名称"
,
"props"
:
{
"name"
:
{
"type"
:
"string"
,
"alias"
:
"名称"
},
"path"
:
{
"type"
:
"string"
,
"alias"
:
"路径"
}
},
"output"
:
[
"success"
],
"id"
:
"get-data"
,
"script"
:
"var data;
\n
if (props.path) {
\n
data = engine.gameStage.dataCenter.getDataByPath(props.path);
\n
}
\n
else {
\n
data = engine.gameStage.dataCenter.getGroup(props.name);
\n
}
\n
next('success', data);
\n
"
,
"group"
:
"base"
,
"type"
:
"builtin"
}
dist/base/log.json
View file @
9c2e8a8c
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
"success"
"success"
],
],
"id"
:
"log"
,
"id"
:
"log"
,
"script"
:
"
var leftValue = typeof props.left === 'object' ? args[props.left.path] : props.left;
\n
var rightValue = typeof props.right === 'object' ? args[props.right.path] : props.right;
\n
var func = new Function('return ' + leftValue + args.operator + rightValue);
\n
var result = func();
\n
next(result ? 'equal' : 'unequal
');
\n
"
,
"script"
:
"
console.log(props ? props.content : (args ? args.content : ''));
\n
next('success
');
\n
"
,
"group"
:
"base"
,
"group"
:
"base"
,
"type"
:
"builtin"
"type"
:
"builtin"
}
}
dist/duiba/duiba-api-transform.json
deleted
100644 → 0
View file @
636a22bd
{
"name"
:
"兑吧接口转换"
,
"desc"
:
"将http请求返回成兑吧接口的解析"
,
"props"
:
{},
"output"
:
[
"success"
,
"failed"
],
"id"
:
"duiba-api-transform"
,
"script"
:
"if (args.success) {
\n
next('success', args.data);
\n
}
\n
else {
\n
next('failed');
\n
}
\n
"
,
"group"
:
"duiba"
,
"type"
:
"builtin"
}
dist/duiba/duiba-api.json
View file @
9c2e8a8c
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
"props"
:
{
"props"
:
{
"url"
:
{
"url"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"enum"
:
[],
"alias"
:
"链接"
"alias"
:
"链接"
},
},
"method"
:
{
"method"
:
{
...
@@ -18,7 +17,6 @@
...
@@ -18,7 +17,6 @@
},
},
"name"
:
{
"name"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"enum"
:
[],
"alias"
:
"数据名"
"alias"
:
"数据名"
}
}
},
},
...
@@ -27,8 +25,8 @@
...
@@ -27,8 +25,8 @@
"failed"
"failed"
],
],
"sub"
:
{
"sub"
:
{
"
8fe4ca2c-8cf1-4f9a-b302-82c830d15647
"
:
{
"
5fc7ba4d-6afa-4eab-82d8-f25cbcb79d56
"
:
{
"uuid"
:
"
8fe4ca2c-8cf1-4f9a-b302-82c830d15647
"
,
"uuid"
:
"
5fc7ba4d-6afa-4eab-82d8-f25cbcb79d56
"
,
"meta"
:
"entry"
,
"meta"
:
"entry"
,
"design"
:
{
"design"
:
{
"x"
:
10
,
"x"
:
10
,
...
@@ -38,7 +36,7 @@
...
@@ -38,7 +36,7 @@
"success"
:
[
"success"
:
[
{
{
"x"
:
124.5
,
"x"
:
124.5
,
"y"
:
1
1
"y"
:
3
1
}
}
]
]
}
}
...
@@ -46,21 +44,21 @@
...
@@ -46,21 +44,21 @@
"props"
:
{},
"props"
:
{},
"output"
:
{
"output"
:
{
"success"
:
[
"success"
:
[
"
5f66a293-aa9f-4bb1-bfa8-d9286548df6f
"
"
69e28053-dfb3-459e-a9e5-4964c6e35193
"
]
]
}
}
},
},
"
5f66a293-aa9f-4bb1-bfa8-d9286548df6f
"
:
{
"
69e28053-dfb3-459e-a9e5-4964c6e35193
"
:
{
"uuid"
:
"
5f66a293-aa9f-4bb1-bfa8-d9286548df6f
"
,
"uuid"
:
"
69e28053-dfb3-459e-a9e5-4964c6e35193
"
,
"meta"
:
"http-request"
,
"meta"
:
"http-request"
,
"design"
:
{
"design"
:
{
"x"
:
98
,
"x"
:
67
,
"y"
:
1
03
,
"y"
:
1
39
,
"input"
:
{
"input"
:
{
"default"
:
[
"default"
:
[
{
{
"x"
:
5.5
,
"x"
:
5.5
,
"y"
:
28
"y"
:
47.5
}
}
]
]
},
},
...
@@ -68,44 +66,48 @@
...
@@ -68,44 +66,48 @@
"success"
:
[
"success"
:
[
{
{
"x"
:
124.5
,
"x"
:
124.5
,
"y"
:
14
"y"
:
33.5
}
}
],
],
"failed"
:
[
"failed"
:
[
{
{
"x"
:
124.5
,
"x"
:
124.5
,
"y"
:
28
"y"
:
47.5
}
}
],
],
"exception"
:
[
"exception"
:
[
{
{
"x"
:
124.5
,
"x"
:
124.5
,
"y"
:
42
"y"
:
61.5
}
}
]
]
}
}
},
},
"props"
:
{
"props"
:
{
"url"
:
{},
"url"
:
{
"method"
:
{}
"type"
:
"link"
},
"method"
:
{
"type"
:
"link"
}
},
},
"output"
:
{
"output"
:
{
"success"
:
[
"success"
:
[
"
fbaae92e-d20c-4dc2-8801-37cb224f358b
"
"
39dce565-539b-44b6-901c-0344467795a8
"
]
]
}
}
},
},
"
fbaae92e-d20c-4dc2-8801-37cb224f358b
"
:
{
"
39dce565-539b-44b6-901c-0344467795a8
"
:
{
"uuid"
:
"
fbaae92e-d20c-4dc2-8801-37cb224f358b
"
,
"uuid"
:
"
39dce565-539b-44b6-901c-0344467795a8
"
,
"meta"
:
"duiba-api-transform"
,
"meta"
:
"duiba-api-transform"
,
"design"
:
{
"design"
:
{
"x"
:
1
48
,
"x"
:
1
84
,
"y"
:
2
69
,
"y"
:
2
75
,
"input"
:
{
"input"
:
{
"default"
:
[
"default"
:
[
{
{
"x"
:
5.5
,
"x"
:
5.5
,
"y"
:
11
"y"
:
30.5
}
}
]
]
},
},
...
@@ -113,13 +115,13 @@
...
@@ -113,13 +115,13 @@
"success"
:
[
"success"
:
[
{
{
"x"
:
124.5
,
"x"
:
124.5
,
"y"
:
4
"y"
:
23.5
}
}
],
],
"failed"
:
[
"failed"
:
[
{
{
"x"
:
124.5
,
"x"
:
124.5
,
"y"
:
18
"y"
:
37.5
}
}
]
]
}
}
...
@@ -127,21 +129,21 @@
...
@@ -127,21 +129,21 @@
"props"
:
{},
"props"
:
{},
"output"
:
{
"output"
:
{
"success"
:
[
"success"
:
[
"
91fd3e42-4922-4fc2-ac0e-bc8f8875349c
"
"
e95e7bbc-b592-4f87-b433-77fd03a9ef51
"
]
]
}
}
},
},
"
91fd3e42-4922-4fc2-ac0e-bc8f8875349c
"
:
{
"
e95e7bbc-b592-4f87-b433-77fd03a9ef51
"
:
{
"uuid"
:
"
91fd3e42-4922-4fc2-ac0e-bc8f8875349c
"
,
"uuid"
:
"
e95e7bbc-b592-4f87-b433-77fd03a9ef51
"
,
"meta"
:
"put-data"
,
"meta"
:
"put-data"
,
"design"
:
{
"design"
:
{
"x"
:
2
13
,
"x"
:
2
80
,
"y"
:
3
72
,
"y"
:
3
67
,
"input"
:
{
"input"
:
{
"default"
:
[
"default"
:
[
{
{
"x"
:
5.5
,
"x"
:
5.5
,
"y"
:
28
"y"
:
47.5
}
}
]
]
},
},
...
@@ -149,18 +151,34 @@
...
@@ -149,18 +151,34 @@
"success"
:
[
"success"
:
[
{
{
"x"
:
124.5
,
"x"
:
124.5
,
"y"
:
28
"y"
:
47.5
}
}
]
]
}
}
},
},
"props"
:
{
"props"
:
{
"name"
:
{}
"name"
:
{
"type"
:
"link"
}
},
},
"output"
:
{}
"output"
:
{}
}
}
},
},
"subEntry"
:
"8fe4ca2c-8cf1-4f9a-b302-82c830d15647"
,
"subEntry"
:
"5fc7ba4d-6afa-4eab-82d8-f25cbcb79d56"
,
"metas"
:
[
{
"id"
:
"duiba-api-transform"
,
"script"
:
"if (args.success) {
\n
next('success', args.data);
\n
}
\n
else {
\n
next('failed');
\n
}
\n
"
,
"props"
:
{},
"isInline"
:
true
,
"name"
:
"兑吧接口转换"
,
"output"
:
[
"success"
,
"failed"
],
"desc"
:
"将http请求返回成兑吧接口的解析"
}
],
"id"
:
"duiba-api"
,
"id"
:
"duiba-api"
,
"script"
:
"next('success');
\n
"
,
"script"
:
"next('success');
\n
"
,
"group"
:
"duiba"
,
"group"
:
"duiba"
,
...
...
src/base/compare/index.ts
View file @
9c2e8a8c
...
@@ -2,6 +2,12 @@
...
@@ -2,6 +2,12 @@
* Created by rockyl on 2019-11-16.
* Created by rockyl on 2019-11-16.
*/
*/
setTimeout
(
function
(){
let
leftValue
=
typeof
props
.
left
===
'object'
?
args
[
props
.
left
.
path
]
:
props
.
left
;
next
(
'complete'
)
let
rightValue
=
typeof
props
.
right
===
'object'
?
args
[
props
.
right
.
path
]
:
props
.
right
;
},
args
?
args
.
duration
:
(
props
.
duration
||
0
));
let
operator
=
args
?
args
.
operator
:
props
.
operator
;
if
(
operator
.
length
===
2
&&
operator
[
operator
.
length
-
1
]
===
'='
){
operator
+=
'='
;
}
let
func
=
new
Function
(
'return '
+
leftValue
+
operator
+
rightValue
);
let
result
=
func
();
next
(
result
?
'equal'
:
'unequal'
);
src/base/compare/meta.json
View file @
9c2e8a8c
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
"name"
:
"比较"
,
"name"
:
"比较"
,
"desc"
:
"比较两个值"
,
"desc"
:
"比较两个值"
,
"props"
:
{
"props"
:
{
"left"
:
{
"alias"
:
"左值"
,
"type"
:
"
any
"
,
"default"
:
""
},
"left"
:
{
"alias"
:
"左值"
,
"type"
:
"
data
"
,
"default"
:
""
},
"right"
:
{
"alias"
:
"右值"
,
"type"
:
"
any
"
,
"default"
:
""
},
"right"
:
{
"alias"
:
"右值"
,
"type"
:
"
data
"
,
"default"
:
""
},
"strict"
:
{
"alias"
:
"严格模式"
,
"type"
:
"
any"
,
"default"
:
""
},
"strict"
:
{
"alias"
:
"严格模式"
,
"type"
:
"
boolean"
,
"default"
:
false
},
"operator"
:
{
"alias"
:
"操作符"
,
"type"
:
"enum"
,
"operator"
:
{
"alias"
:
"操作符"
,
"type"
:
"enum"
,
"enum"
:
[
"=="
,
">"
,
">="
,
"<"
,
"<="
,
"!="
],
"enum"
:
[
"=="
,
">"
,
">="
,
"<"
,
"<="
,
"!="
],
"default"
:
"=="
}
"default"
:
"=="
}
...
...
src/base/get-data/index.ts
0 → 100644
View file @
9c2e8a8c
/**
* Created by rockyl on 2019-11-16.
*/
let
data
;
if
(
props
.
path
){
data
=
engine
.
gameStage
.
dataCenter
.
getDataByPath
(
props
.
path
);
}
else
{
data
=
engine
.
gameStage
.
dataCenter
.
getGroup
(
props
.
name
);
}
next
(
'success'
,
data
);
src/base/get-data/meta.json
0 → 100644
View file @
9c2e8a8c
{
"name"
:
"获取数据"
,
"desc"
:
"从数据中心获取数据,优先判断名称"
,
"props"
:
{
"name"
:
{
"type"
:
"string"
,
"alias"
:
"名称"
},
"path"
:
{
"type"
:
"string"
,
"alias"
:
"路径"
}
},
"output"
:
[
"success"
]
}
src/base/log/index.ts
View file @
9c2e8a8c
...
@@ -2,8 +2,5 @@
...
@@ -2,8 +2,5 @@
* Created by rockyl on 2019-11-16.
* Created by rockyl on 2019-11-16.
*/
*/
let
leftValue
=
typeof
props
.
left
===
'object'
?
args
[
props
.
left
.
path
]
:
props
.
left
;
console
.
log
(
props
?
props
.
content
:
(
args
?
args
.
content
:
''
));
let
rightValue
=
typeof
props
.
right
===
'object'
?
args
[
props
.
right
.
path
]
:
props
.
right
;
next
(
'success'
);
let
func
=
new
Function
(
'return '
+
leftValue
+
args
.
operator
+
rightValue
);
\ No newline at end of file
let
result
=
func
();
next
(
result
?
'equal'
:
'unequal'
);
src/duiba/duiba-api-transform/index.ts
deleted
100644 → 0
View file @
636a22bd
/**
* Created by rockyl on 2019-11-16.
*/
if
(
args
.
success
){
next
(
'success'
,
args
.
data
);
}
else
{
next
(
'failed'
)
}
\ No newline at end of file
src/duiba/duiba-api-transform/meta.json
deleted
100644 → 0
View file @
636a22bd
{
"name"
:
"兑吧接口转换"
,
"desc"
:
"将http请求返回成兑吧接口的解析"
,
"props"
:
{},
"output"
:
[
"success"
,
"failed"
]
}
\ No newline at end of file
src/duiba/duiba-api/meta.json
View file @
9c2e8a8c
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
"props"
:
{
"props"
:
{
"url"
:
{
"url"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"enum"
:
[],
"alias"
:
"链接"
"alias"
:
"链接"
},
},
"method"
:
{
"method"
:
{
...
@@ -18,7 +17,6 @@
...
@@ -18,7 +17,6 @@
},
},
"name"
:
{
"name"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"enum"
:
[],
"alias"
:
"数据名"
"alias"
:
"数据名"
}
}
},
},
...
@@ -27,8 +25,8 @@
...
@@ -27,8 +25,8 @@
"failed"
"failed"
],
],
"sub"
:
{
"sub"
:
{
"
8fe4ca2c-8cf1-4f9a-b302-82c830d15647
"
:
{
"
5fc7ba4d-6afa-4eab-82d8-f25cbcb79d56
"
:
{
"uuid"
:
"
8fe4ca2c-8cf1-4f9a-b302-82c830d15647
"
,
"uuid"
:
"
5fc7ba4d-6afa-4eab-82d8-f25cbcb79d56
"
,
"meta"
:
"entry"
,
"meta"
:
"entry"
,
"design"
:
{
"design"
:
{
"x"
:
10
,
"x"
:
10
,
...
@@ -38,7 +36,7 @@
...
@@ -38,7 +36,7 @@
"success"
:
[
"success"
:
[
{
{
"x"
:
124.5
,
"x"
:
124.5
,
"y"
:
1
1
"y"
:
3
1
}
}
]
]
}
}
...
@@ -46,21 +44,21 @@
...
@@ -46,21 +44,21 @@
"props"
:
{},
"props"
:
{},
"output"
:
{
"output"
:
{
"success"
:
[
"success"
:
[
"
5f66a293-aa9f-4bb1-bfa8-d9286548df6f
"
"
69e28053-dfb3-459e-a9e5-4964c6e35193
"
]
]
}
}
},
},
"
5f66a293-aa9f-4bb1-bfa8-d9286548df6f
"
:
{
"
69e28053-dfb3-459e-a9e5-4964c6e35193
"
:
{
"uuid"
:
"
5f66a293-aa9f-4bb1-bfa8-d9286548df6f
"
,
"uuid"
:
"
69e28053-dfb3-459e-a9e5-4964c6e35193
"
,
"meta"
:
"http-request"
,
"meta"
:
"http-request"
,
"design"
:
{
"design"
:
{
"x"
:
98
,
"x"
:
67
,
"y"
:
1
03
,
"y"
:
1
39
,
"input"
:
{
"input"
:
{
"default"
:
[
"default"
:
[
{
{
"x"
:
5.5
,
"x"
:
5.5
,
"y"
:
28
"y"
:
47.5
}
}
]
]
},
},
...
@@ -68,44 +66,48 @@
...
@@ -68,44 +66,48 @@
"success"
:
[
"success"
:
[
{
{
"x"
:
124.5
,
"x"
:
124.5
,
"y"
:
14
"y"
:
33.5
}
}
],
],
"failed"
:
[
"failed"
:
[
{
{
"x"
:
124.5
,
"x"
:
124.5
,
"y"
:
28
"y"
:
47.5
}
}
],
],
"exception"
:
[
"exception"
:
[
{
{
"x"
:
124.5
,
"x"
:
124.5
,
"y"
:
42
"y"
:
61.5
}
}
]
]
}
}
},
},
"props"
:
{
"props"
:
{
"url"
:
{},
"url"
:
{
"method"
:
{}
"type"
:
"link"
},
"method"
:
{
"type"
:
"link"
}
},
},
"output"
:
{
"output"
:
{
"success"
:
[
"success"
:
[
"
fbaae92e-d20c-4dc2-8801-37cb224f358b
"
"
39dce565-539b-44b6-901c-0344467795a8
"
]
]
}
}
},
},
"
fbaae92e-d20c-4dc2-8801-37cb224f358b
"
:
{
"
39dce565-539b-44b6-901c-0344467795a8
"
:
{
"uuid"
:
"
fbaae92e-d20c-4dc2-8801-37cb224f358b
"
,
"uuid"
:
"
39dce565-539b-44b6-901c-0344467795a8
"
,
"meta"
:
"duiba-api-transform"
,
"meta"
:
"duiba-api-transform"
,
"design"
:
{
"design"
:
{
"x"
:
1
48
,
"x"
:
1
84
,
"y"
:
2
69
,
"y"
:
2
75
,
"input"
:
{
"input"
:
{
"default"
:
[
"default"
:
[
{
{
"x"
:
5.5
,
"x"
:
5.5
,
"y"
:
11
"y"
:
30.5
}
}
]
]
},
},
...
@@ -113,13 +115,13 @@
...
@@ -113,13 +115,13 @@
"success"
:
[
"success"
:
[
{
{
"x"
:
124.5
,
"x"
:
124.5
,
"y"
:
4
"y"
:
23.5
}
}
],
],
"failed"
:
[
"failed"
:
[
{
{
"x"
:
124.5
,
"x"
:
124.5
,
"y"
:
18
"y"
:
37.5
}
}
]
]
}
}
...
@@ -127,21 +129,21 @@
...
@@ -127,21 +129,21 @@
"props"
:
{},
"props"
:
{},
"output"
:
{
"output"
:
{
"success"
:
[
"success"
:
[
"
91fd3e42-4922-4fc2-ac0e-bc8f8875349c
"
"
e95e7bbc-b592-4f87-b433-77fd03a9ef51
"
]
]
}
}
},
},
"
91fd3e42-4922-4fc2-ac0e-bc8f8875349c
"
:
{
"
e95e7bbc-b592-4f87-b433-77fd03a9ef51
"
:
{
"uuid"
:
"
91fd3e42-4922-4fc2-ac0e-bc8f8875349c
"
,
"uuid"
:
"
e95e7bbc-b592-4f87-b433-77fd03a9ef51
"
,
"meta"
:
"put-data"
,
"meta"
:
"put-data"
,
"design"
:
{
"design"
:
{
"x"
:
2
13
,
"x"
:
2
80
,
"y"
:
3
72
,
"y"
:
3
67
,
"input"
:
{
"input"
:
{
"default"
:
[
"default"
:
[
{
{
"x"
:
5.5
,
"x"
:
5.5
,
"y"
:
28
"y"
:
47.5
}
}
]
]
},
},
...
@@ -149,16 +151,32 @@
...
@@ -149,16 +151,32 @@
"success"
:
[
"success"
:
[
{
{
"x"
:
124.5
,
"x"
:
124.5
,
"y"
:
28
"y"
:
47.5
}
}
]
]
}
}
},
},
"props"
:
{
"props"
:
{
"name"
:
{}
"name"
:
{
"type"
:
"link"
}
},
},
"output"
:
{}
"output"
:
{}
}
}
},
},
"subEntry"
:
"8fe4ca2c-8cf1-4f9a-b302-82c830d15647"
"subEntry"
:
"5fc7ba4d-6afa-4eab-82d8-f25cbcb79d56"
,
"metas"
:
[
{
"id"
:
"duiba-api-transform"
,
"script"
:
"if (args.success) {
\n
next('success', args.data);
\n
}
\n
else {
\n
next('failed');
\n
}
\n
"
,
"props"
:
{},
"isInline"
:
true
,
"name"
:
"兑吧接口转换"
,
"output"
:
[
"success"
,
"failed"
],
"desc"
:
"将http请求返回成兑吧接口的解析"
}
]
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment