1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee

hifini 添加 order limit 参数

This commit is contained in:
2022-10-29 14:40:58 +08:00
parent 71eb3b7ce5
commit b93e1598e6
4 changed files with 22 additions and 3 deletions

View File

@@ -14,6 +14,11 @@ const dataManager = require('./src/dataManager');
const requestUtils = require('../utils/requestUtils');
async function main() {
var args = require('minimist')(process.argv.slice(2));
global.args = {
"order": args.order,
"limit": args.limit,
}
// async function timeout1() {
// await getList();
// setTimeout(() => console.log("getList已完成"), 2000);