magic-boot/data/magic-api/api/系统管理/菜单管理/修改是否显示.ms

49 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

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",
"createBy" : null,
"updateBy" : null,
2022-01-07 01:08:42 +08:00
"path" : "/change",
"method" : "GET",
2021-10-24 20:09:53 +08:00
"parameters" : [ ],
"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
} ],
2021-10-24 20:09:53 +08:00
"requestBody" : "",
"headers" : [ ],
"paths" : [ ],
"responseBody" : null,
"description" : null,
"requestBodyDefinition" : null,
"responseBodyDefinition" : null
2021-10-24 20:09:53 +08:00
}
================================
return db.table("sys_menu").primary("id").update(data)