mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2025-01-20 04:22:49 +08:00
27 lines
820 B
Plaintext
27 lines
820 B
Plaintext
{
|
|
"properties" : { },
|
|
"id" : "46d45f15b5ab4de7b6718fd0c9b05e7b",
|
|
"script" : null,
|
|
"groupId" : "c7ce65f5b3cf4aaa913f6fec7d35d176",
|
|
"name" : "删除",
|
|
"createTime" : null,
|
|
"updateTime" : 1644121690359,
|
|
"lock" : "0",
|
|
"method" : "POST",
|
|
"path" : "/delete",
|
|
"parameters" : [ ],
|
|
"option" : "[{\"name\":\"permission\",\"value\":\"dict:delete\",\"description\":\"允许拥有该权限的访问\"}]",
|
|
"requestBody" : "{\n\n}",
|
|
"headers" : [ ],
|
|
"paths" : [ ],
|
|
"responseBody" : null,
|
|
"description" : null,
|
|
"requestBodyDefinition" : null,
|
|
"responseBodyDefinition" : null,
|
|
"optionMap" : {
|
|
"permission" : "dict:delete"
|
|
}
|
|
}
|
|
================================
|
|
db.table("sys_dict_items").logic().where().eq("dictId",id).delete()
|
|
return db.table("sys_dict").logic().where().eq("id",id).delete() |