mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2026-04-26 00:00:04 +08:00
演示模式,后台权限code控制
This commit is contained in:
@@ -4,21 +4,23 @@
|
||||
"script" : null,
|
||||
"groupId" : "376f26eb43a44a3daeafd27020a96f48",
|
||||
"name" : "删除",
|
||||
"createTime" : 1634735543067,
|
||||
"updateTime" : 1634735543067,
|
||||
"createTime" : null,
|
||||
"updateTime" : 1644121693440,
|
||||
"lock" : "0",
|
||||
"method" : "POST",
|
||||
"path" : "/delete",
|
||||
"parameters" : [ ],
|
||||
"option" : "[]",
|
||||
"requestBody" : "",
|
||||
"option" : "[{\"name\":\"permission\",\"value\":\"dict:items:delete\",\"description\":\"允许拥有该权限的访问\"}]",
|
||||
"requestBody" : "{\n\n}",
|
||||
"headers" : [ ],
|
||||
"paths" : [ ],
|
||||
"responseBody" : null,
|
||||
"description" : null,
|
||||
"requestBodyDefinition" : null,
|
||||
"responseBodyDefinition" : null,
|
||||
"optionMap" : { }
|
||||
"optionMap" : {
|
||||
"permission" : "dict:items:delete"
|
||||
}
|
||||
}
|
||||
================================
|
||||
return db.table("sys_dict_items").logic().where().eq("id",id).delete();
|
||||
Reference in New Issue
Block a user