6
0
Fork 0
release
李静 2022-03-23 13:57:57 +08:00
parent 78b2c8ed5f
commit c69334f8d2
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class DealerEarningResource extends JsonResource
$purchaseSubsidyLogs = $this->getPurchaseSubsidyLogs();
return [
'id' => $this->id,
'type' => $this->type_name,
'type' => $this->earningable_type_text,
'created_at' => $this->created_at->toDateTimeString(),
'settle_at' => $this->settle_at?->toDateTimeString(),
'total_amount' => $this->total_amount,