pushuo 2022-08-18 16:42:48 +08:00
parent 1eba785fac
commit 827272dbb2
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class CustomerResource extends JsonResource
'id' => $this->id,
'name' => $this->name,
'email' => $this->email,
'status' => $this->status ? '启用' : '禁用',
'status' => $this->status,
'avatar' => image_resize($this->avatar),
'from' => $this->from,
'customer_group_name' => $this->customerGroup->description->name ?? '',