dyjh 6 년 전
부모
커밋
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;