magic-boot/data/magic-api/api/系统管理/组件/获取历史代码详情.ms

39 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

2024-03-07 20:37:55 +08:00
{
"properties" : { },
"id" : "f21ff197058a47e0ba1e1c6c714081ce",
"script" : null,
"groupId" : "6f106ebdee21489db34b956f7770ff03",
"name" : "获取历史代码详情",
"createTime" : null,
2024-03-10 23:11:35 +08:00
"updateTime" : 1710083294611,
2024-03-07 20:37:55 +08:00
"lock" : null,
"createBy" : null,
"updateBy" : null,
"path" : "/history/detail",
"method" : "GET",
"parameters" : [ ],
2024-03-10 23:11:35 +08:00
"options" : [ {
"name" : "permission",
"value" : "component:history:detail",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ],
2024-03-07 20:37:55 +08:00
"requestBody" : "",
"headers" : [ ],
"paths" : [ ],
"responseBody" : null,
"description" : null,
"requestBodyDefinition" : null,
"responseBodyDefinition" : null
}
================================
return db.selectValue("""
select source_code from sys_dynamic_component_history where id = #{id} and is_del = 0
""")