bug修改

This commit is contained in:
guoshengxiong 2024-04-17 20:52:27 +08:00
parent 7812e57209
commit 5891131bdb
3 changed files with 115 additions and 0 deletions

View File

@ -178,3 +178,7 @@ spring.datasource.db2.jdbc-url=jdbc:mysql://101.43.164.214:3306/wflow_pro?useUni
spring.datasource.db2.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.db2.username=root
spring.datasource.db2.password=JXJ@admin
#配置web页面入口
magic-api.web=/xmgl/magic/web
#配置文件存储位置。当以classpath开头时为只读模式
magic-api.resource.location=classpath:magic

View File

@ -0,0 +1,14 @@
{
"properties": {},
"id": "3aae6c82d5724f0b99620c138bb55f3f",
"name": "分组1",
"type": "api",
"parentId": "0",
"path": "/xmgl",
"createTime": null,
"updateTime": 1713321466918,
"createBy": null,
"updateBy": null,
"paths": [],
"options": []
}

View File

@ -0,0 +1,97 @@
{
"properties" : { },
"id" : "3e06314558e44ef4ad244fb4b045ce7e",
"script" : null,
"groupId" : "3aae6c82d5724f0b99620c138bb55f3f",
"name" : "test",
"createTime" : null,
"updateTime" : 1713321417809,
"lock" : null,
"createBy" : null,
"updateBy" : null,
"path" : "/magic/test",
"method" : "GET",
"parameters" : [ ],
"options" : [ ],
"requestBody" : "",
"headers" : [ ],
"paths" : [ ],
"responseBody" : "{\n \"timestamp\": \"2024-04-17 10:33:32\",\n \"status\": 404,\n \"error\": \"Not Found\",\n \"message\": \"No message available\",\n \"path\": \"/xmgl/magic/test\"\n}",
"description" : null,
"requestBodyDefinition" : null,
"responseBodyDefinition" : {
"name" : "",
"value" : "",
"description" : "",
"required" : false,
"dataType" : "Object",
"type" : null,
"defaultValue" : null,
"validateType" : "",
"error" : "",
"expression" : "",
"children" : [ {
"name" : "timestamp",
"value" : "2024-04-17 10:12:58",
"description" : "",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : "",
"error" : "",
"expression" : "",
"children" : [ ]
}, {
"name" : "status",
"value" : "404",
"description" : "",
"required" : false,
"dataType" : "Integer",
"type" : null,
"defaultValue" : null,
"validateType" : "",
"error" : "",
"expression" : "",
"children" : [ ]
}, {
"name" : "error",
"value" : "Not Found",
"description" : "",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : "",
"error" : "",
"expression" : "",
"children" : [ ]
}, {
"name" : "message",
"value" : "No message available",
"description" : "",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : "",
"error" : "",
"expression" : "",
"children" : [ ]
}, {
"name" : "path",
"value" : "/xmgl/magic/test123",
"description" : "",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : "",
"error" : "",
"expression" : "",
"children" : [ ]
} ]
}
}
================================
return 'Hello magic-api'