no message

This commit is contained in:
hellcat committed 2025-06-29 14:56:25 +08:00
1 parent 389478cb61
commit e7bea82d71
8 files changed
+222 -67

No files matched your search

+11
View File
@@ -32,4 +32,15 @@ final class EmailQueue extends Model
$this->array = json_encode($array);
$this->save();
}
public function add_bulk($to, $subject, $template, $array): void
{
$this->to_email = $to;
$this->subject = $subject;
$this->template = $template;
$this->time = time();
$this->array = json_encode($array);
$this->type = "bulk";
$this->save();
}
}