mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2025-02-01 01:22:49 +08:00
37 lines
951 B
Plaintext
37 lines
951 B
Plaintext
{
|
|
"properties" : { },
|
|
"id" : "dbd7523d57fd4958acd9be7e5c66cc9a",
|
|
"script" : null,
|
|
"groupId" : "7bdcc43555b9419caba2ee722e1aa2d3",
|
|
"name" : "删除",
|
|
"createTime" : 1649260172011,
|
|
"updateTime" : null,
|
|
"lock" : null,
|
|
"createBy" : null,
|
|
"updateBy" : null,
|
|
"path" : "/delete",
|
|
"method" : "DELETE",
|
|
"parameters" : [ ],
|
|
"options" : [ {
|
|
"name" : "permission",
|
|
"value" : "data:test:delete",
|
|
"description" : "允许拥有该权限的访问",
|
|
"required" : false,
|
|
"dataType" : "String",
|
|
"type" : null,
|
|
"defaultValue" : null,
|
|
"validateType" : null,
|
|
"error" : null,
|
|
"expression" : null,
|
|
"children" : null
|
|
} ],
|
|
"requestBody" : null,
|
|
"headers" : [ ],
|
|
"paths" : [ ],
|
|
"responseBody" : null,
|
|
"description" : null,
|
|
"requestBodyDefinition" : null,
|
|
"responseBodyDefinition" : null
|
|
}
|
|
================================
|
|
return db.table('t_data_test').logic().where().eq('id', id).delete() |