6
0
Fork 0

调整账户时间显示

release
vine_liutk 2021-12-28 11:51:37 +08:00
parent 54cb326377
commit f1e6e2f204
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class DistributionPreIncomeResource extends JsonResource
return [ return [
'remarks' => $this->remarks, 'remarks' => $this->remarks,
'logs' => DistributionPreIncomeLogResource::collection($this->whenLoaded('logs')), 'logs' => DistributionPreIncomeLogResource::collection($this->whenLoaded('logs')),
'created_at'=> $this->created_at->toDateTimeString(), 'created_at'=> $this->created_at->format('y-m-d H:i'),
'total_revenue' => $this->total_revenue, 'total_revenue' => $this->total_revenue,
]; ];
} }

View File

@ -16,7 +16,7 @@ class WalletLogResource extends JsonResource
{ {
return [ return [
'remarks' => $this->remarks, 'remarks' => $this->remarks,
'created_at' => $this->created_at->toDateTimeString(), 'created_at' => $this->created_at->format('y-m-d H:i'),
'change_balance' => $this->change_balance, 'change_balance' => $this->change_balance,
]; ];
} }