作者 lyh

gx

... ... @@ -29,7 +29,7 @@ class BTemplateModuleLogic extends BaseLogic
$list = $this->model->list($map,$order,$filed);
$templateLabel = new TemplateLabel();
foreach ($list as $k => $v){
$v['label'] = $templateLabel->list(['template_id'=>$v['id'],'type'=>2],'id',['id','name'],'desc',5);
$v['label'] = $templateLabel->list(['template_id'=>$v['id'],'type'=>2],'id',['id','name'],'desc');
$list[$k] = $v;
}
return $this->success($list);
... ...