dyjh 6 년 전
부모
커밋
1251f9b849
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/Http/Controllers/Admin/Base/PhotosController.php

+ 1 - 0
app/Http/Controllers/Admin/Base/PhotosController.php

xqd
@@ -65,6 +65,7 @@ class PhotosController extends Controller
                 if ($userAuth->is_root == 1) {
                     $photos = BaseAttachmentModel::where([['class', $a_class->class]])->paginate(24);
                 } else {
+                    dd( $a_class->class);
                     $photos = BaseAttachmentModel::where([['class', $a_class->class],['store_id', $this->getStoreId()]])->paginate(24);
                 }
             }