mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-20 00:30:50 +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");
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.8.15');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2024-11-23');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2024-11-27');
|
||||
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||
|
||||
Reference in New Issue
Block a user