Update job:list, and change "subject" to "jobname"

This commit is contained in:
2024-05-21 21:10:58 +10:00
parent 72d68fa1ab
commit 752462d20f
8 changed files with 11 additions and 10 deletions

View File

@@ -41,8 +41,9 @@ class MessageProcess implements ShouldQueue
public function __get($key): mixed
{
switch ($key) {
case 'subject':
return sprintf('%s-%s-%s',$this->pktname,$this->mo->set->get('set_sender')->ftn,$this->mo->msgid);
case 'jobname':
$mo = unserialize($this->mo);
return sprintf('%s-%s-%s',$mo->set->get('set_pkt'),$mo->set->get('set_sender')->ftn,$mo->msgid);
default:
return NULL;