|
...
|
...
|
@@ -9,6 +9,7 @@ use App\Models\CustomModule\CustomModuleCategory; |
|
|
|
use App\Models\IsCom\ProjectComConfig;
|
|
|
|
use App\Models\News\NewsCategory;
|
|
|
|
use App\Models\Product\Category;
|
|
|
|
use App\Models\Product\ProductType;
|
|
|
|
use App\Models\Project\PageSetting;
|
|
|
|
use App\Models\RouteMap\RouteMap;
|
|
|
|
use App\Models\Service\Service as ServiceSettingModel;
|
|
...
|
...
|
@@ -837,6 +838,13 @@ class BTemplateLogic extends BaseLogic |
|
|
|
$values['category'][] = $item;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$productType = $this->getCategoryList((new ProductType()),1,['id','name']);
|
|
|
|
if(!empty($productType)){
|
|
|
|
foreach ($productCategory as $item){
|
|
|
|
$item['id'] = 'product_type_'.$item['id'];
|
|
|
|
$values['category'][] = $item;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case '新闻':
|
|
|
|
$newCategory = $this->getCategoryList((new NewsCategory()),0,['id','name','pid']);
|
...
|
...
|
|