unify BuyTorrent param

This commit is contained in:
xiaomlove
2024-11-27 22:25:05 +08:00
parent 186862de32
commit ff0caa1cf4
2 changed files with 3 additions and 3 deletions

View File

@@ -47,8 +47,8 @@ final class ThirdPartyJob {
if (NexusDB::redis()->set($key, now()->toDateTimeString(), ['nx', 'ex' => 3600])) {
$value = [
'name' => self::JOB_BUY_TORRENT,
'userId' => $userId,
'torrentId' => $torrentId,
'user_id' => $userId,
'torrent_id' => $torrentId,
];
NexusDB::redis()->rPush(self::$queueKey, json_encode($value));
do_log("success addBuyTorrent: $key", "debug");