调整开通身份

This commit is contained in:
2023-03-13 11:13:52 +08:00
parent 2bf6a397b1
commit 1fcedae027
13 changed files with 658 additions and 60 deletions

View File

@@ -19,7 +19,7 @@ class IdentityMiddleResource extends JsonResource
return [
'name' => $this->identity->name,
'serial' => $this->identity->serial_prefix.$this->serial,
'started_at' => $this->started_at ?? '',
'started_at' => (string)$this->started_at ?? '',
'ended_at' => $ended_at,
];
}