正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -27,6 +27,8 @@ class NewsController extends BaseController | @@ -27,6 +27,8 @@ class NewsController extends BaseController | ||
| 27 | $this->map['project_id'] = $this->user['project_id']; | 27 | $this->map['project_id'] = $this->user['project_id']; |
| 28 | $lists = $news->lists($this->map,$this->page,$this->row,$this->order = 'sort', | 28 | $lists = $news->lists($this->map,$this->page,$this->row,$this->order = 'sort', |
| 29 | ['id','category_id','operator_id','status','created_at','updated_at','image','name','sort','url']); | 29 | ['id','category_id','operator_id','status','created_at','updated_at','image','name','sort','url']); |
| 30 | + var_dump($lists); | ||
| 31 | + die(); | ||
| 30 | if(!empty($lists['list'])){ | 32 | if(!empty($lists['list'])){ |
| 31 | foreach ($lists['list'] as $k => $v){ | 33 | foreach ($lists['list'] as $k => $v){ |
| 32 | $v = $newsCategoryLogic->get_category_name($v); | 34 | $v = $newsCategoryLogic->get_category_name($v); |
-
请 注册 或 登录 后发表评论