作者 lyh

gx

@@ -187,6 +187,7 @@ class ATemplateController extends BaseController @@ -187,6 +187,7 @@ class ATemplateController extends BaseController
187 } 187 }
188 $filed = ['id','name','status','image','created_at']; 188 $filed = ['id','name','status','image','created_at'];
189 $this->map['test_model'] = 0; 189 $this->map['test_model'] = 0;
  190 + $this->map['project_id'] = 0;
190 $lists = $aTemplateLogic->aTemplateList($this->map,$this->page,$this->row,$this->order,$filed); 191 $lists = $aTemplateLogic->aTemplateList($this->map,$this->page,$this->row,$this->order,$filed);
191 $data = []; 192 $data = [];
192 if(!empty($lists) && !empty($lists['list'])){ 193 if(!empty($lists) && !empty($lists['list'])){
@@ -28,7 +28,6 @@ class ATemplateLogic extends BaseLogic @@ -28,7 +28,6 @@ class ATemplateLogic extends BaseLogic
28 * @time :2023/6/28 17:03 28 * @time :2023/6/28 17:03
29 */ 29 */
30 public function aTemplateList($map,$page,$row,$order = ['created_at'],$filed = ['*']){ 30 public function aTemplateList($map,$page,$row,$order = ['created_at'],$filed = ['*']){
31 -  
32 $map['deleted_status'] = 0; 31 $map['deleted_status'] = 0;
33 $map['status'] = 0; 32 $map['status'] = 0;
34 $lists = $this->model->lists($map,$page,$row,$order,$filed); 33 $lists = $this->model->lists($map,$page,$row,$order,$filed);