正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -25,6 +25,7 @@ class ATemplateController extends BaseController | @@ -25,6 +25,7 @@ class ATemplateController extends BaseController | ||
| 25 | */ | 25 | */ |
| 26 | public function lists(ATemplateLogic $aTemplateLogic){ | 26 | public function lists(ATemplateLogic $aTemplateLogic){ |
| 27 | $filed = ['id','name','image','url','status','sort','deleted_status','test_model','created_at','project_id']; | 27 | $filed = ['id','name','image','url','status','sort','deleted_status','test_model','created_at','project_id']; |
| 28 | + $this->map['project_id'] = 0; | ||
| 28 | $lists = $aTemplateLogic->aTemplateList($this->map,$this->page,$this->row,$this->order,$filed); | 29 | $lists = $aTemplateLogic->aTemplateList($this->map,$this->page,$this->row,$this->order,$filed); |
| 29 | if(!empty($lists) && !empty($lists['list'])){ | 30 | if(!empty($lists) && !empty($lists['list'])){ |
| 30 | foreach ($lists['list'] as $k => $v){ | 31 | foreach ($lists['list'] as $k => $v){ |
-
请 注册 或 登录 后发表评论