Laravel ORM Carbon时间格式created_at转换

$data["created_at"] = $value->created_at->format('Y-m-d H:i:s');
$data["created_at"] = $value->created_at->timestamp;