2021-10-24 20:09:53 +08:00
|
|
|
{
|
|
|
|
"properties" : { },
|
|
|
|
"id" : "62020bd7a49949378e90ce2d14fef8f7",
|
|
|
|
"script" : null,
|
|
|
|
"groupId" : "67b2ce258e24491194b74992958c74aa",
|
|
|
|
"name" : "修改是否显示",
|
2022-05-09 21:49:00 +08:00
|
|
|
"createTime" : null,
|
|
|
|
"updateTime" : 1651931012437,
|
2021-10-24 20:09:53 +08:00
|
|
|
"lock" : "0",
|
2022-03-05 22:30:18 +08:00
|
|
|
"createBy" : null,
|
|
|
|
"updateBy" : null,
|
2022-01-07 01:08:42 +08:00
|
|
|
"path" : "/change",
|
2022-03-05 22:30:18 +08:00
|
|
|
"method" : "GET",
|
2021-10-24 20:09:53 +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-05-09 21:49:00 +08:00
|
|
|
}, {
|
|
|
|
"name" : "permission",
|
|
|
|
"value" : "menu:change",
|
|
|
|
"description" : "允许拥有该权限的访问",
|
|
|
|
"required" : false,
|
|
|
|
"dataType" : "String",
|
|
|
|
"type" : null,
|
|
|
|
"defaultValue" : null,
|
|
|
|
"validateType" : null,
|
|
|
|
"error" : null,
|
|
|
|
"expression" : null,
|
|
|
|
"children" : null
|
2022-03-05 22:30:18 +08:00
|
|
|
} ],
|
2021-10-24 20:09:53 +08:00
|
|
|
"requestBody" : "",
|
|
|
|
"headers" : [ ],
|
|
|
|
"paths" : [ ],
|
|
|
|
"responseBody" : null,
|
|
|
|
"description" : null,
|
|
|
|
"requestBodyDefinition" : null,
|
2022-03-05 22:30:18 +08:00
|
|
|
"responseBodyDefinition" : null
|
2021-10-24 20:09:53 +08:00
|
|
|
}
|
|
|
|
================================
|
|
|
|
return db.table("sys_menu").primary("id").update(data)
|