dyjh 6 лет назад
Родитель
Сommit
0220a29206
1 измененных файлов с 1 добавлено и 0 удалено
  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;