Commit 7175d6a5 authored by rockyl's avatar rockyl

完善星速台通用接口的过程

parent 9da4b276
{
"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": 151,
"y": 115,
"x": 163,
"y": 133,
"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);\nvar uri = engine.findVariable('uri', args, props);\nnext('success', {url: engine.joinPath(host, uri)});",
"script": "//var projectX = 'projectX';\n//var projectID = engine.env.projectID;\nvar uri = engine.findVariable('uri', args, props);\nnext('success', {url: uri});//engine.joinPath(projectX, projectID, uri)});",
"props": {
"host": {
"type": "string",
"alias": "接口根"
},
"uri": {
"type": "string",
"alias": "URI"
......
{
"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": 151,
"y": 115,
"x": 163,
"y": 133,
"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);\nvar uri = engine.findVariable('uri', args, props);\nnext('success', {url: engine.joinPath(host, uri)});",
"script": "//var projectX = 'projectX';\n//var projectID = engine.env.projectID;\nvar uri = engine.findVariable('uri', args, props);\nnext('success', {url: uri});//engine.joinPath(projectX, projectID, uri)});",
"props": {
"host": {
"type": "string",
"alias": "接口根"
},
"uri": {
"type": "string",
"alias": "URI"
......
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