Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-libs
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-libs
Commits
7175d6a5
Commit
7175d6a5
authored
Nov 26, 2019
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善星速台通用接口的过程
parent
9da4b276
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
34 deletions
+20
-34
api-request.json
dist/processes/projextX/api-request.json
+10
-17
meta.json
src/process/projextX/api-request/meta.json
+10
-17
No files found.
dist/processes/projextX/api-request.json
View file @
7175d6a5
{
"props"
:
{
"host"
:
{
"type"
:
"string"
,
"alias"
:
"接口根"
},
"uri"
:
{
"type"
:
"string"
,
"alias"
:
"URI"
...
...
@@ -14,7 +10,8 @@
"get"
,
"post"
],
"alias"
:
"方法"
"alias"
:
"方法"
,
"default"
:
"get"
},
"dataName"
:
{
"type"
:
"string"
,
...
...
@@ -59,13 +56,13 @@
"uuid"
:
"567169ba-a2c1-4c10-9025-605a2e89ef0f"
,
"meta"
:
"a4b27753-4cbb-47e3-9b31-51ced475e41a"
,
"design"
:
{
"x"
:
1
51
,
"y"
:
1
15
,
"x"
:
1
63
,
"y"
:
1
33
,
"input"
:
{
"default"
:
[
{
"x"
:
5.5
,
"y"
:
47.5
"y"
:
39
}
]
},
...
...
@@ -73,7 +70,7 @@
"success"
:
[
{
"x"
:
124.5
,
"y"
:
47.5
"y"
:
39
}
]
}
...
...
@@ -102,7 +99,7 @@
"default"
:
[
{
"x"
:
5.5
,
"y"
:
56
"y"
:
64.5
}
]
},
...
...
@@ -110,13 +107,13 @@
"success"
:
[
{
"x"
:
124.5
,
"y"
:
49
"y"
:
57.5
}
],
"failed"
:
[
{
"x"
:
124.5
,
"y"
:
63
"y"
:
71.5
}
]
}
...
...
@@ -137,12 +134,8 @@
"metas"
:
[
{
"id"
:
"a4b27753-4cbb-47e3-9b31-51ced475e41a"
,
"script"
:
"
var host = engine.findVariable('host', args, props);
\n
var uri = engine.findVariable('uri', args, props);
\n
next('success', {url: engine.joinPath(host
, uri)});"
,
"script"
:
"
//var projectX = 'projectX';
\n
//var projectID = engine.env.projectID;
\n
var uri = engine.findVariable('uri', args, props);
\n
next('success', {url: uri});//engine.joinPath(projectX, projectID
, uri)});"
,
"props"
:
{
"host"
:
{
"type"
:
"string"
,
"alias"
:
"接口根"
},
"uri"
:
{
"type"
:
"string"
,
"alias"
:
"URI"
...
...
src/process/projextX/api-request/meta.json
View file @
7175d6a5
{
"props"
:
{
"host"
:
{
"type"
:
"string"
,
"alias"
:
"接口根"
},
"uri"
:
{
"type"
:
"string"
,
"alias"
:
"URI"
...
...
@@ -14,7 +10,8 @@
"get"
,
"post"
],
"alias"
:
"方法"
"alias"
:
"方法"
,
"default"
:
"get"
},
"dataName"
:
{
"type"
:
"string"
,
...
...
@@ -59,13 +56,13 @@
"uuid"
:
"567169ba-a2c1-4c10-9025-605a2e89ef0f"
,
"meta"
:
"a4b27753-4cbb-47e3-9b31-51ced475e41a"
,
"design"
:
{
"x"
:
1
51
,
"y"
:
1
15
,
"x"
:
1
63
,
"y"
:
1
33
,
"input"
:
{
"default"
:
[
{
"x"
:
5.5
,
"y"
:
47.5
"y"
:
39
}
]
},
...
...
@@ -73,7 +70,7 @@
"success"
:
[
{
"x"
:
124.5
,
"y"
:
47.5
"y"
:
39
}
]
}
...
...
@@ -102,7 +99,7 @@
"default"
:
[
{
"x"
:
5.5
,
"y"
:
56
"y"
:
64.5
}
]
},
...
...
@@ -110,13 +107,13 @@
"success"
:
[
{
"x"
:
124.5
,
"y"
:
49
"y"
:
57.5
}
],
"failed"
:
[
{
"x"
:
124.5
,
"y"
:
63
"y"
:
71.5
}
]
}
...
...
@@ -137,12 +134,8 @@
"metas"
:
[
{
"id"
:
"a4b27753-4cbb-47e3-9b31-51ced475e41a"
,
"script"
:
"
var host = engine.findVariable('host', args, props);
\n
var uri = engine.findVariable('uri', args, props);
\n
next('success', {url: engine.joinPath(host
, uri)});"
,
"script"
:
"
//var projectX = 'projectX';
\n
//var projectID = engine.env.projectID;
\n
var uri = engine.findVariable('uri', args, props);
\n
next('success', {url: uri});//engine.joinPath(projectX, projectID
, uri)});"
,
"props"
:
{
"host"
:
{
"type"
:
"string"
,
"alias"
:
"接口根"
},
"uri"
:
{
"type"
:
"string"
,
"alias"
:
"URI"
...
...
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