fix checkClient() all position equal not passed

This commit is contained in:
xiaomlove
2022-03-04 17:39:19 +08:00
parent 0665770ca5
commit c1c511b9fe
2 changed files with 22 additions and 11 deletions
+4 -1
View File
@@ -60,7 +60,10 @@ class Test extends Command
*/
public function handle()
{
echo date('Y-m-d H:i:s', 1623820546);
$peerId = '-TR3000-uff7q3z5126z';
$agent = 'Transmission/3.00';
$rep = new AgentAllowRepository();
$r = $rep->checkClient($peerId, $agent, true);
}
}