| xqd
@@ -55,7 +55,7 @@ class PhotosController extends Controller
|
|
|
$photos = BaseAttachmentModel::where([['class', $a_class->class],['store_id', $this->getStoreId()]])->paginate(24);
|
|
|
}
|
|
|
} else {
|
|
|
- $ma = AlbumManufacturerModel::where('store_id',$this->getStoreId())->first();dd($ma);
|
|
|
+ $ma = AlbumManufacturerModel::where('store_id',$this->getStoreId())->first();
|
|
|
$save = [
|
|
|
'store_id' => $this->getStoreId(),
|
|
|
'class'=> ($ma->name or '未分类')
|