正在显示
1 个修改的文件
包含
0 行增加
和
1 行删除
| @@ -35,7 +35,6 @@ class CustomModuleContentController extends BaseController | @@ -35,7 +35,6 @@ class CustomModuleContentController extends BaseController | ||
| 35 | $lists = $customModuleContent->lists($this->map,$this->page,$this->row,$this->order); | 35 | $lists = $customModuleContent->lists($this->map,$this->page,$this->row,$this->order); |
| 36 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($lists, true) . PHP_EOL, FILE_APPEND); | 36 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($lists, true) . PHP_EOL, FILE_APPEND); |
| 37 | if(!empty($lists)){ | 37 | if(!empty($lists)){ |
| 38 | - $lists = $lists->toArray(); | ||
| 39 | $data = $this->getAllCategoryName(); | 38 | $data = $this->getAllCategoryName(); |
| 40 | foreach ($lists as $k=>$v){ | 39 | foreach ($lists as $k=>$v){ |
| 41 | $v['category_name'] = $this->categoryName($v['category_id'],$data); | 40 | $v['category_name'] = $this->categoryName($v['category_id'],$data); |
-
请 注册 或 登录 后发表评论