2025-06-07 11:57:11 +08:00
|
|
|
{
|
|
|
|
"properties" : { },
|
|
|
|
"id" : "89c69bcd049d47228b3298cf0e318756",
|
|
|
|
"script" : null,
|
|
|
|
"groupId" : "55b38df92caf40b99b60fcc88e5ce361",
|
|
|
|
"name" : "查询日志",
|
|
|
|
"createTime" : null,
|
2025-06-09 09:21:27 +08:00
|
|
|
"updateTime" : 1749396811267,
|
2025-06-07 11:57:11 +08:00
|
|
|
"lock" : null,
|
|
|
|
"createBy" : null,
|
|
|
|
"updateBy" : null,
|
|
|
|
"path" : "/query/log_data",
|
|
|
|
"method" : "GET",
|
|
|
|
"parameters" : [ {
|
|
|
|
"name" : "table",
|
2025-06-09 09:21:27 +08:00
|
|
|
"value" : "send_log_htxx",
|
2025-06-07 11:57:11 +08:00
|
|
|
"description" : null,
|
|
|
|
"required" : true,
|
|
|
|
"dataType" : "String",
|
|
|
|
"type" : null,
|
|
|
|
"defaultValue" : null,
|
|
|
|
"validateType" : null,
|
|
|
|
"error" : null,
|
|
|
|
"expression" : null,
|
|
|
|
"children" : null
|
|
|
|
}, {
|
|
|
|
"name" : "dataId",
|
2025-06-09 09:21:27 +08:00
|
|
|
"value" : "68402bae3bf7c10001a2df32",
|
2025-06-07 11:57:11 +08:00
|
|
|
"description" : null,
|
|
|
|
"required" : false,
|
|
|
|
"dataType" : "String",
|
|
|
|
"type" : null,
|
|
|
|
"defaultValue" : null,
|
|
|
|
"validateType" : null,
|
|
|
|
"error" : null,
|
|
|
|
"expression" : null,
|
|
|
|
"children" : null
|
|
|
|
}, {
|
|
|
|
"name" : "mark",
|
2025-06-09 09:21:27 +08:00
|
|
|
"value" : "1749084392443",
|
|
|
|
"description" : null,
|
|
|
|
"required" : false,
|
|
|
|
"dataType" : "String",
|
|
|
|
"type" : null,
|
|
|
|
"defaultValue" : null,
|
|
|
|
"validateType" : null,
|
|
|
|
"error" : null,
|
|
|
|
"expression" : null,
|
|
|
|
"children" : null
|
|
|
|
}, {
|
|
|
|
"name" : "log_type",
|
|
|
|
"value" : "XSHT",
|
2025-06-07 11:57:11 +08:00
|
|
|
"description" : null,
|
|
|
|
"required" : false,
|
|
|
|
"dataType" : "String",
|
|
|
|
"type" : null,
|
|
|
|
"defaultValue" : null,
|
|
|
|
"validateType" : null,
|
|
|
|
"error" : null,
|
|
|
|
"expression" : null,
|
|
|
|
"children" : null
|
|
|
|
} ],
|
|
|
|
"options" : [ ],
|
|
|
|
"requestBody" : "",
|
|
|
|
"headers" : [ ],
|
|
|
|
"paths" : [ ],
|
2025-06-09 09:21:27 +08:00
|
|
|
"responseBody" : "{\n \"code\": 200,\n \"message\": \"success\",\n \"data\": [],\n \"timestamp\": 1749396714005,\n \"executeTime\": 2811\n}",
|
2025-06-07 11:57:11 +08:00
|
|
|
"description" : null,
|
|
|
|
"requestBodyDefinition" : null,
|
|
|
|
"responseBodyDefinition" : {
|
|
|
|
"name" : "",
|
|
|
|
"value" : "",
|
|
|
|
"description" : "",
|
|
|
|
"required" : false,
|
|
|
|
"dataType" : "Object",
|
|
|
|
"type" : null,
|
|
|
|
"defaultValue" : null,
|
|
|
|
"validateType" : "",
|
|
|
|
"error" : "",
|
|
|
|
"expression" : "",
|
|
|
|
"children" : [ {
|
|
|
|
"name" : "code",
|
|
|
|
"value" : "200",
|
|
|
|
"description" : "",
|
|
|
|
"required" : false,
|
|
|
|
"dataType" : "Integer",
|
|
|
|
"type" : null,
|
|
|
|
"defaultValue" : null,
|
|
|
|
"validateType" : "",
|
|
|
|
"error" : "",
|
|
|
|
"expression" : "",
|
|
|
|
"children" : [ ]
|
|
|
|
}, {
|
|
|
|
"name" : "message",
|
|
|
|
"value" : "success",
|
|
|
|
"description" : "",
|
|
|
|
"required" : false,
|
|
|
|
"dataType" : "String",
|
|
|
|
"type" : null,
|
|
|
|
"defaultValue" : null,
|
|
|
|
"validateType" : "",
|
|
|
|
"error" : "",
|
|
|
|
"expression" : "",
|
|
|
|
"children" : [ ]
|
|
|
|
}, {
|
|
|
|
"name" : "data",
|
|
|
|
"value" : "",
|
|
|
|
"description" : "",
|
|
|
|
"required" : false,
|
|
|
|
"dataType" : "Object",
|
|
|
|
"type" : null,
|
|
|
|
"defaultValue" : null,
|
|
|
|
"validateType" : "",
|
|
|
|
"error" : "",
|
|
|
|
"expression" : "",
|
|
|
|
"children" : [ ]
|
|
|
|
}, {
|
|
|
|
"name" : "timestamp",
|
2025-06-09 09:21:27 +08:00
|
|
|
"value" : "1749396714005",
|
2025-06-07 11:57:11 +08:00
|
|
|
"description" : "",
|
|
|
|
"required" : false,
|
|
|
|
"dataType" : "Long",
|
|
|
|
"type" : null,
|
|
|
|
"defaultValue" : null,
|
|
|
|
"validateType" : "",
|
|
|
|
"error" : "",
|
|
|
|
"expression" : "",
|
|
|
|
"children" : [ ]
|
|
|
|
}, {
|
|
|
|
"name" : "executeTime",
|
2025-06-09 09:21:27 +08:00
|
|
|
"value" : "2811",
|
2025-06-07 11:57:11 +08:00
|
|
|
"description" : "",
|
|
|
|
"required" : false,
|
|
|
|
"dataType" : "Integer",
|
|
|
|
"type" : null,
|
|
|
|
"defaultValue" : null,
|
|
|
|
"validateType" : "",
|
|
|
|
"error" : "",
|
|
|
|
"expression" : "",
|
|
|
|
"children" : [ ]
|
|
|
|
} ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
================================
|
|
|
|
return db.Log.select("""
|
|
|
|
|
|
|
|
select * from ${table} where log_type = #{log_type} and data_id = #{dataId} and mark = #{mark}
|
|
|
|
|
|
|
|
""")
|