46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
{
|
|
"properties" : { },
|
|
"id" : "0ed26502b95049db8e00316c785c24c3",
|
|
"script" : null,
|
|
"groupId" : "55b38df92caf40b99b60fcc88e5ce361",
|
|
"name" : "新增日志",
|
|
"createTime" : 1743045862791,
|
|
"updateTime" : null,
|
|
"lock" : null,
|
|
"createBy" : null,
|
|
"updateBy" : null,
|
|
"path" : "/insert/log_data",
|
|
"method" : "POST",
|
|
"parameters" : [ ],
|
|
"options" : [ ],
|
|
"requestBody" : null,
|
|
"headers" : [ ],
|
|
"paths" : [ ],
|
|
"responseBody" : null,
|
|
"description" : null,
|
|
"requestBodyDefinition" : null,
|
|
"responseBodyDefinition" : null
|
|
}
|
|
================================
|
|
return db.Log.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})
|
|
|
|
""") |