feat: implement VM snapshot management, enhance client resource loading, and refactor deployment workflow for production
This commit is contained in:
@@ -48,11 +48,11 @@ class ClientResource extends JsonResource
|
||||
'point_total' => $this->point,
|
||||
],
|
||||
'service' => [
|
||||
'vps' => $this->vps()->count(),
|
||||
'vps' => $this->vps_count ?? $this->vps()->count(),
|
||||
'proxy' => 0,
|
||||
'server' => 0,
|
||||
'hosting' => $this->hosting()->count(),
|
||||
'domain' => $this->domain()->count(),
|
||||
'hosting' => $this->hosting_count ?? $this->hosting()->count(),
|
||||
'domain' => $this->domain_count ?? $this->domain()->count(),
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user