调整账户时间显示
parent
54cb326377
commit
f1e6e2f204
|
|
@ -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,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue