Merge branch 'develop' of http://47.244.231.31:8099/zhl/globalso-v6 into develop
正在显示
1 个修改的文件
包含
5 行增加
和
1 行删除
| @@ -91,7 +91,11 @@ class TemplateController extends BaseController | @@ -91,7 +91,11 @@ class TemplateController extends BaseController | ||
| 91 | */ | 91 | */ |
| 92 | public function html_index($template_id){ | 92 | public function html_index($template_id){ |
| 93 | 93 | ||
| 94 | - $lists = (new ATemplateHtml)->list([['template_id','=',$template_id]],$this->order,['id','name','status','is_default','sort','thumb','url','created_at','updated_at']); | 94 | + $lists = (new ATemplateHtml)->list( |
| 95 | + ['template_id'=>$template_id], | ||
| 96 | + $this->order | ||
| 97 | +// , ['id','name','status','is_default','sort','thumb','url','created_at','updated_at'] | ||
| 98 | + ); | ||
| 95 | $this->response('success',Code::SUCCESS,$lists); | 99 | $this->response('success',Code::SUCCESS,$lists); |
| 96 | 100 | ||
| 97 | } | 101 | } |
-
请 注册 或 登录 后发表评论