2022-01-16 18:10:18 +08:00
|
|
|
{
|
|
|
|
"properties" : { },
|
|
|
|
"id" : "d31e3bea5666449d90fa95779adfb61f",
|
|
|
|
"script" : null,
|
|
|
|
"groupId" : "42d241c0bb18476f8dabf92c2e4e2324",
|
|
|
|
"name" : "保存",
|
2022-03-05 22:30:18 +08:00
|
|
|
"createTime" : 1646490239463,
|
2022-01-16 18:10:18 +08:00
|
|
|
"updateTime" : 1642312068428,
|
|
|
|
"lock" : "0",
|
2022-03-05 22:30:18 +08:00
|
|
|
"createBy" : null,
|
|
|
|
"updateBy" : null,
|
2022-01-16 18:10:18 +08:00
|
|
|
"path" : "/save",
|
2022-03-05 22:30:18 +08:00
|
|
|
"method" : "POST",
|
2022-01-16 18:10:18 +08:00
|
|
|
"parameters" : [ ],
|
2022-03-05 22:30:18 +08:00
|
|
|
"options" : [ {
|
|
|
|
"name" : "wrap_request_parameter",
|
|
|
|
"value" : "data",
|
|
|
|
"description" : "包装请求参数到一个变量中",
|
|
|
|
"required" : false,
|
|
|
|
"dataType" : "String",
|
|
|
|
"type" : null,
|
|
|
|
"defaultValue" : null,
|
|
|
|
"validateType" : null,
|
|
|
|
"error" : null,
|
|
|
|
"expression" : null,
|
|
|
|
"children" : null
|
|
|
|
} ],
|
2022-01-16 18:10:18 +08:00
|
|
|
"requestBody" : "",
|
|
|
|
"headers" : [ ],
|
|
|
|
"paths" : [ ],
|
|
|
|
"responseBody" : null,
|
|
|
|
"description" : null,
|
|
|
|
"requestBodyDefinition" : null,
|
2022-03-05 22:30:18 +08:00
|
|
|
"responseBodyDefinition" : null
|
2022-01-16 18:10:18 +08:00
|
|
|
}
|
|
|
|
================================
|
|
|
|
return db.table("sys_test_data").primary("id").saveOrUpdate(data)
|