mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2025-01-31 17:12:49 +08:00
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
{
|
|
"properties" : { },
|
|
"id" : "ed33e9c6270446118cf5674299778959",
|
|
"script" : null,
|
|
"groupId" : "376f26eb43a44a3daeafd27020a96f48",
|
|
"name" : "删除",
|
|
"createTime" : null,
|
|
"updateTime" : 1646553109828,
|
|
"lock" : "0",
|
|
"createBy" : null,
|
|
"updateBy" : null,
|
|
"path" : "/delete",
|
|
"method" : "DELETE",
|
|
"parameters" : [ ],
|
|
"options" : [ {
|
|
"name" : "permission",
|
|
"value" : "dict:items:delete",
|
|
"description" : "允许拥有该权限的访问",
|
|
"required" : false,
|
|
"dataType" : "String",
|
|
"type" : null,
|
|
"defaultValue" : null,
|
|
"validateType" : null,
|
|
"error" : null,
|
|
"expression" : null,
|
|
"children" : null
|
|
} ],
|
|
"requestBody" : "{\n\n}",
|
|
"headers" : [ ],
|
|
"paths" : [ ],
|
|
"responseBody" : null,
|
|
"description" : null,
|
|
"requestBodyDefinition" : {
|
|
"name" : "",
|
|
"value" : "",
|
|
"description" : "",
|
|
"required" : false,
|
|
"dataType" : "Object",
|
|
"type" : null,
|
|
"defaultValue" : null,
|
|
"validateType" : "",
|
|
"error" : "",
|
|
"expression" : "",
|
|
"children" : [ ]
|
|
},
|
|
"responseBodyDefinition" : null
|
|
}
|
|
================================
|
|
return db.table("sys_dict_items").logic().where().eq("id",id).delete(); |