feat: khởi tạo/huỷ domain Plesk qua job, gửi mail hoá đơn qua queue, đính kèm triển khai
- ProvisionDnsDomainJob/SuspendDnsDomainJob: tạo domain admin lên Plesk, huỷ = suspend (is_created=3) - Khách xem zone DNS được gán ở /dich-vu/domain, quản lý bản ghi A/AAAA/CNAME/TXT/MX/SRV - send-mail hoá đơn đẩy SendInvoiceMailJob, preview + sửa nội dung, ghi mail.order_id - invoice_attachments.type (payment_proof/deployment) - CacheService xoá theo SCAN pattern, Redis không persistent mặc định - Backfill transactions.public_code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
30898ea46f
commit
94614d9cb3
@@ -16,10 +16,8 @@ class DomainNSResource extends JsonResource
|
||||
{
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'dns_manager_domain_id' => $this->dns_manager_domain_id,
|
||||
'name' => $this->name,
|
||||
'type' => $this->type,
|
||||
'type_valid' => $this->type_valid,
|
||||
'priority' => $this->priority,
|
||||
'weight' => $this->weight,
|
||||
'port' => $this->port,
|
||||
@@ -27,9 +25,6 @@ class DomainNSResource extends JsonResource
|
||||
'protocol' => $this->protocol,
|
||||
'value' => $this->value,
|
||||
'ttl' => isset($this->ttl) ? (int) $this->ttl : null,
|
||||
'plesk_id' => $this->plesk_id,
|
||||
'created_at' => optional($this->created_at)->toISOString(),
|
||||
'updated_at' => optional($this->updated_at)->toISOString(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user