|
...
|
...
|
@@ -29,8 +29,10 @@ class BTemplateLogic extends BaseLogic |
|
|
|
* @method :post
|
|
|
|
* @time :2023/6/29 9:34
|
|
|
|
*/
|
|
|
|
public function publicTemplateLists($map,$page,$row,$order = 'created_at',$filed = ['id','name','image','url','created_at']){
|
|
|
|
public function publicTemplateLists($map,$page,$row,$order = 'created_at',$filed = ['id','name','image','url','created_at','status','deleted_status']){
|
|
|
|
$templateModel = new Template();
|
|
|
|
$map['deleted_status'] = 0;
|
|
|
|
$map['status'] = 0;
|
|
|
|
$lists = $templateModel->lists($map,$page,$row,$order,$filed);
|
|
|
|
return $this->success($lists);
|
|
|
|
}
|
...
|
...
|
|