|
@@ -110,7 +110,7 @@ class Product extends Auth{
|
|
}
|
|
}
|
|
// 获取列表
|
|
// 获取列表
|
|
$cityList = $City->getCityList();
|
|
$cityList = $City->getCityList();
|
|
- $businessList = $Business->getList();
|
|
|
|
|
|
+ $businessList = $Business->getListByAdmin();
|
|
// 分配数据
|
|
// 分配数据
|
|
$this->assign('empty', '<tr><td colspan="20">~~暂无数据</td></tr>');
|
|
$this->assign('empty', '<tr><td colspan="20">~~暂无数据</td></tr>');
|
|
$this->assign('cityList',$cityList);
|
|
$this->assign('cityList',$cityList);
|
|
@@ -416,7 +416,7 @@ class Product extends Auth{
|
|
// 获取类型数据
|
|
// 获取类型数据
|
|
$typeList = $ProductType->getList();
|
|
$typeList = $ProductType->getList();
|
|
$cityList = $City->getCityList();
|
|
$cityList = $City->getCityList();
|
|
- $businessList = $Business->getList();
|
|
|
|
|
|
+ $businessList = $Business->getListByAdmin();
|
|
$producerList = $Producer->getList();
|
|
$producerList = $Producer->getList();
|
|
// 标签列表
|
|
// 标签列表
|
|
$tagData = $WeiBanTags->query()->groupBy('group')->groupBy('name')->get(['group','name'])->toArray();
|
|
$tagData = $WeiBanTags->query()->groupBy('group')->groupBy('name')->get(['group','name'])->toArray();
|
|
@@ -668,7 +668,7 @@ class Product extends Auth{
|
|
// 获取类型数据
|
|
// 获取类型数据
|
|
$typeList = $ProductType->getList();
|
|
$typeList = $ProductType->getList();
|
|
$cityList = $City->getCityList();
|
|
$cityList = $City->getCityList();
|
|
- $businessList = $Business->getList();
|
|
|
|
|
|
+ $businessList = $Business->getListByAdmin();
|
|
$producerList = $Producer->getList();
|
|
$producerList = $Producer->getList();
|
|
// 标签列表
|
|
// 标签列表
|
|
$tagData = $WeiBanTags->query()->groupBy('group')->groupBy('name')->get(['group','name'])->toArray();
|
|
$tagData = $WeiBanTags->query()->groupBy('group')->groupBy('name')->get(['group','name'])->toArray();
|
|
@@ -934,7 +934,7 @@ class Product extends Auth{
|
|
// 获取类型数据
|
|
// 获取类型数据
|
|
$typeList = $ProductType->getList();
|
|
$typeList = $ProductType->getList();
|
|
$cityList = $City->getCityList();
|
|
$cityList = $City->getCityList();
|
|
- $businessList = $Business->getList();
|
|
|
|
|
|
+ $businessList = $Business->getListByAdmin();
|
|
$producerList = $Producer->getList();
|
|
$producerList = $Producer->getList();
|
|
// 分配数据
|
|
// 分配数据
|
|
$this->assign('tagList',$tagList);
|
|
$this->assign('tagList',$tagList);
|