正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -29,8 +29,10 @@ class BTemplateLogic extends BaseLogic | @@ -29,8 +29,10 @@ class BTemplateLogic extends BaseLogic | ||
| 29 | * @method :post | 29 | * @method :post |
| 30 | * @time :2023/6/29 9:34 | 30 | * @time :2023/6/29 9:34 |
| 31 | */ | 31 | */ |
| 32 | - public function publicTemplateLists($map,$page,$row,$order = 'created_at',$filed = ['id','name','image','url','created_at']){ | 32 | + public function publicTemplateLists($map,$page,$row,$order = 'created_at',$filed = ['id','name','image','url','created_at','status','deleted_status']){ |
| 33 | $templateModel = new Template(); | 33 | $templateModel = new Template(); |
| 34 | + $map['deleted_status'] = 0; | ||
| 35 | + $map['status'] = 0; | ||
| 34 | $lists = $templateModel->lists($map,$page,$row,$order,$filed); | 36 | $lists = $templateModel->lists($map,$page,$row,$order,$filed); |
| 35 | return $this->success($lists); | 37 | return $this->success($lists); |
| 36 | } | 38 | } |
-
请 注册 或 登录 后发表评论