Commit 56c0c17c authored by 智勇's avatar 智勇

update

parent d3256311
...@@ -33,7 +33,7 @@ exports.get_log = async function () { ...@@ -33,7 +33,7 @@ exports.get_log = async function () {
active: this.request.body.query.active, active: this.request.body.query.active,
microservice_name: this.request.body.query.microservice_name, microservice_name: this.request.body.query.microservice_name,
create_time: { create_time: {
$gt: new Date(new Date().getTime() - 4 * 60 * 60 * 1000) $gt: new Date(new Date().getTime() - 3 * 24 * 60 * 60 * 1000)
} }
}, { create_time: -1 }); }, { create_time: -1 });
// let item = await this.mongo("statisticslog").getLog(this.request.body.query, { create_time: { $slice: [this.request.body.slice.num, this.request.body.slice.count] } }, { create_time: -1 }); // let item = await this.mongo("statisticslog").getLog(this.request.body.query, { create_time: { $slice: [this.request.body.slice.num, this.request.body.slice.count] } }, { create_time: -1 });
......
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