瀏覽代碼

Fix notification id error

兔姬桑 4 年之前
父節點
當前提交
3ee4bfbebe
共有 4 個文件被更改,包括 420 次插入148 次删除
  1. 1 0
      .gitignore
  2. 2 2
      app/Notifications/DataAnomaly.php
  3. 2 2
      app/Notifications/TicketClosed.php
  4. 415 144
      composer.lock

+ 1 - 0
.gitignore

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

+ 2 - 2
app/Notifications/DataAnomaly.php

@@ -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;

+ 2 - 2
app/Notifications/TicketClosed.php

@@ -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;

文件差異過大導致無法顯示
+ 415 - 144
composer.lock


部分文件因文件數量過多而無法顯示