lgy 15 giờ trước cách đây
mục cha
commit
a42adcc054
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      server/application/api/model/template/TemplateModel.php

+ 0 - 2
server/application/api/model/template/TemplateModel.php

@@ -76,12 +76,10 @@ class TemplateModel extends ZskkDefaultModel {
             if($temp['parent_id'] == '0'){
                 $data = $this
                     ->where('parent_id', $id)
-                    ->field('id, title, exam_class_id, parent_id')
                     ->select();
             } else {
                 $data = $this
                     ->where('id', $id)
-                    ->field('id, title, exam_class_id, parent_id, impression, description')
                     ->find();
             }
             // 返回