Fix notification id error

This commit is contained in:
兔姬桑
2021-04-24 23:32:00 +08:00
parent b3b6852a09
commit 3ee4bfbebe
4 changed files with 1500 additions and 460 deletions

1
.gitignore vendored
View File

@@ -24,3 +24,4 @@ _ide_helper_models.php
_ide_helper.php
.php_cs.cache
node_modules/*
composer.phar

View File

@@ -16,9 +16,9 @@ class DataAnomaly extends Notification implements ShouldQueue
private $download;
private $total;
public function __construct($id, $upload, $download, $total)
public function __construct($userId, $upload, $download, $total)
{
$this->userId = $id;
$this->userId = $userId;
$this->upload = $upload;
$this->download = $download;
$this->total = $total;

View File

@@ -17,9 +17,9 @@ class TicketClosed extends Notification implements ShouldQueue
private $reason;
private $is_user;
public function __construct($id, $title, $url, $reason, $is_user = null)
public function __construct($ticketId, $title, $url, $reason, $is_user = null)
{
$this->ticketId = $id;
$this->ticketId = $ticketId;
$this->title = $title;
$this->url = $url;
$this->reason = $reason;

1951
composer.lock generated

File diff suppressed because it is too large Load Diff