Commit f81184a7 authored by 赵啸非's avatar 赵啸非

修改构建api文档

parent 2bbc1ae1
......@@ -12,14 +12,9 @@ import org.apache.commons.lang3.StringUtils;
@CommonsLog
public class P6spySqlFormatConfig implements MessageFormattingStrategy {
/**
* 过滤掉定时任务的 SQL
*/
@Override
public String formatMessage(int connectionId, String now, long elapsed, String category, String prepared, String sql, String url) {
log.info(String.format("connectionId:%d now:%s elapsed:%d category:%s ", connectionId,now,elapsed,category));
return StringUtils.isNotBlank(sql) ? DateUtils.getCurrStrDateTime()
+ " | 耗时 " + elapsed + " ms | SQL 语句:" + StringUtils.LF + sql.replaceAll("[\\s]+", StringUtils.SPACE) + ";" : "";
}
......
......@@ -15,7 +15,7 @@ POST {{baseUrl}}/business/matter/businesslist
Content-Type: application/json
{
"siteId":2,
"siteId":53,
"siteBusinessName": "%不动产抵押登记%"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment