mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
unify BuyTorrent param
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user