Merge branch 'bugfix' of http://git.legu.cc/qixin/HJ_Server into bugfix
This commit is contained in:
commit
945d406131
@ -5,11 +5,12 @@ import { PublicShared } from "../shared/public/public";
|
||||
|
||||
|
||||
class Path {
|
||||
|
||||
async fun1(a: any) {
|
||||
let taskType = 2;
|
||||
// let users = await G.mongodb.collection('user').find({}).toArray();
|
||||
let users = await G.mongodb.collection('user').find({ loginTime: { $gte: 1704643200 } }).toArray();
|
||||
let users = await G.mongodb.collection('user').find({}, {
|
||||
projection: {uid: 1}
|
||||
}).toArray();
|
||||
// let users = await G.mongodb.collection('user').find({ loginTime: { $gte: 1704643200 } }).toArray();
|
||||
for (let i = 0; i < users.length; i++) {
|
||||
let user = users[i];
|
||||
|
||||
@ -56,4 +57,5 @@ async function main() {
|
||||
process.exit();
|
||||
}, 3000);
|
||||
}
|
||||
|
||||
main();
|
||||
|
Loading…
Reference in New Issue
Block a user