From 84520c345c8df383348573b7b6db6c2baddbe988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Tue, 8 Aug 2023 10:58:21 +0900 Subject: [PATCH] shoppingmallv2 init... --- app/Entities/BaseEntity.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Entities/BaseEntity.php b/app/Entities/BaseEntity.php index 6243d40..744040a 100644 --- a/app/Entities/BaseEntity.php +++ b/app/Entities/BaseEntity.php @@ -17,7 +17,7 @@ abstract class BaseEntity extends Entity return $this->attributes[$field]; } //파일관련 Field전용 - final public function getFileDownload($field = "upload_file") + final public function getFileDownload($url = false, $field = "upload_file") { if (is_null($this->attributes[$field])) { return ""; @@ -30,7 +30,7 @@ abstract class BaseEntity extends Entity ); } //이미지관련 Field전용 - final public function getFileImage($field = "photo", $size = false) + final public function getFileImage($size = false, $field = "photo") { if (is_null($this->attributes[$field])) { return "";