作者 lyh

gx

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