diff --git a/app/Utils/ThirdPartyJob.php b/app/Utils/ThirdPartyJob.php index d26a0656..2e54bf58 100644 --- a/app/Utils/ThirdPartyJob.php +++ b/app/Utils/ThirdPartyJob.php @@ -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"); diff --git a/include/constants.php b/include/constants.php index ab2143d7..81d9f909 100644 --- a/include/constants.php +++ b/include/constants.php @@ -1,6 +1,6 @@