HaoSai/data/magic-api/api/日志/查询日志.ms

30 lines
830 B
Plaintext
Raw Normal View History

2025-08-05 14:00:35 +08:00
{
"properties" : { },
"id" : "2b64c24e5eec404eb131201ce3b7b2a1",
"script" : null,
"groupId" : "88c190883e8b46ec960347a93051f8b8",
"name" : "查询日志",
"createTime" : 1752550113203,
"updateTime" : null,
"lock" : null,
"createBy" : null,
"updateBy" : null,
"path" : "/query/log_data",
"method" : "GET",
"parameters" : [ ],
"options" : [ ],
"requestBody" : null,
"headers" : [ ],
"paths" : [ ],
"responseBody" : null,
"description" : null,
"requestBodyDefinition" : null,
"responseBodyDefinition" : null
}
================================
return db.HS.select("""
select log_id,log_type,log_status,syn_type,data_id,data_name,mark,res_body,mark_id,send_url,send_body,send_res,send_flag,send_memo from ${table}
where log_type = #{log_type} and data_id = #{dataId} and mark = #{mark}
""")