| xqd
@@ -75,7 +75,7 @@ class ProductController extends Controller
|
|
|
}
|
|
|
$cat = AlbumCatModel::where([
|
|
|
['parent_id',$cat_id],['store_id',$this->getStoreId()]
|
|
|
- ])->orderByDesc('sort')->get();
|
|
|
+ ])->orderByDesc('sort')->get()->toArray();
|
|
|
if (empty($cat)) {
|
|
|
$cat[] = [
|
|
|
'name' => '请先添加二级分类!',
|