improve cleanup calculate seed bonus

This commit is contained in:
xiaomlove
2023-07-15 01:44:48 +08:00
parent d8aef62b33
commit 8e5cd7dd60
8 changed files with 153 additions and 89 deletions
+4 -1
View File
@@ -23,15 +23,18 @@ class UpdateTorrentSeedersEtc implements ShouldQueue
private string $requestId;
private string $idStr;
/**
* Create a new job instance.
*
* @return void
*/
public function __construct(int $beginTorrentId, int $endTorrentId, string $requestId = '')
public function __construct(int $beginTorrentId, int $endTorrentId, string $idStr, string $requestId = '')
{
$this->beginTorrentId = $beginTorrentId;
$this->endTorrentId = $endTorrentId;
$this->idStr = $idStr;
$this->requestId = $requestId;
}