<?php

require_once __DIR__ . '/../../../Library/AutoLoad.php';

use Tool\MakeLocustRequestFile\Script\MakeLoginProcessData;


//检查数量,默认为1
$num = $argv[1] ?? 1;
if ($num <= 0) {
    echo "输入数量错误!\n";
    return;
}
$make = new MakeLoginProcessData();
$idStart = random_int(1, 99) . time();
while ($num > 0) {
    $id = $idStart - $num;
    $make->makeLoginProcessData($id);
    $num--;
}


