Skip to content

Commit

Permalink
unify BuyTorrent param
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomlove committed Nov 27, 2024
1 parent 186862d commit ff0caa1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/Utils/ThirdPartyJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public static function addBuyTorrent(int $userId, int $torrentId): void
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");
Expand Down
2 changes: 1 addition & 1 deletion include/constants.php
Original file line number Diff line number Diff line change
@@ -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");
Expand Down

0 comments on commit ff0caa1

Please sign in to comment.