|
@@ -229,6 +229,7 @@ class Attachment
|
|
$attachment = new BaseAttachmentModel();
|
|
$attachment = new BaseAttachmentModel();
|
|
$attachment->name = $clientName;
|
|
$attachment->name = $clientName;
|
|
$attachment->md5 = $md5;
|
|
$attachment->md5 = $md5;
|
|
|
|
+ $attachment->store_id = session('store_id') ?? 1;
|
|
$attachment->path = $real_path;
|
|
$attachment->path = $real_path;
|
|
$attachment->url = $url_path;
|
|
$attachment->url = $url_path;
|
|
$attachment->size = $fileSize;
|
|
$attachment->size = $fileSize;
|