dyjh há 6 anos atrás
pai
commit
0220a29206
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      app/Services/Base/Attachment.php

+ 1 - 0
app/Services/Base/Attachment.php

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