|
...
|
...
|
@@ -35,7 +35,6 @@ class CustomModuleContentController extends BaseController |
|
|
|
$lists = $customModuleContent->lists($this->map,$this->page,$this->row,$this->order);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($lists, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
if(!empty($lists)){
|
|
|
|
$lists = $lists->toArray();
|
|
|
|
$data = $this->getAllCategoryName();
|
|
|
|
foreach ($lists as $k=>$v){
|
|
|
|
$v['category_name'] = $this->categoryName($v['category_id'],$data);
|
...
|
...
|
|