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])) { if (NexusDB::redis()->set($key, now()->toDateTimeString(), ['nx', 'ex' => 3600])) {
$value = [ $value = [
'name' => self::JOB_BUY_TORRENT, 'name' => self::JOB_BUY_TORRENT,
'userId' => $userId, 'user_id' => $userId,
'torrentId' => $torrentId, 'torrent_id' => $torrentId,
]; ];
NexusDB::redis()->rPush(self::$queueKey, json_encode($value)); NexusDB::redis()->rPush(self::$queueKey, json_encode($value));
do_log("success addBuyTorrent: $key", "debug"); do_log("success addBuyTorrent: $key", "debug");

View File

@@ -1,6 +1,6 @@
<?php <?php
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.8.15'); 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('IN_TRACKER') || define('IN_TRACKER', false);
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP"); defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org"); defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");