HaoSai/data/magic-api/api/日志/新增日志.ms

46 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2025-08-05 14:00:35 +08:00
{
"properties" : { },
"id" : "f0f8b0b70a1d4f80ab4421ddeb94956c",
"script" : null,
"groupId" : "88c190883e8b46ec960347a93051f8b8",
"name" : "新增日志",
"createTime" : null,
"updateTime" : 1754272650487,
"lock" : null,
"createBy" : null,
"updateBy" : null,
"path" : "/insert/log_data",
"method" : "POST",
"parameters" : [ ],
"options" : [ ],
"requestBody" : "",
"headers" : [ ],
"paths" : [ ],
"responseBody" : null,
"description" : null,
"requestBodyDefinition" : null,
"responseBodyDefinition" : null
}
================================
return db.HS.insert("""
insert into ${body.tableName} (
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)
values
(#{body.log_id},#{body.log_type},#{body.log_status},#{body.syn_type},#{body.data_id},#{body.data_name},#{body.mark},#{body.res_body},#{body.mark_id},
#{body.send_url},#{body.send_body},#{body.send_res},#{body.send_flag},#{body.send_memo})
""")