Update job:list, and change "subject" to "jobname"
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user