增加课题统计

This commit is contained in:
东宝书记 committed 2021-05-05 00:02:16 +08:00
1 parent 7989875d7a
commit dcdcfd82ec
23 files changed
+692 -313

No files matched your search

+12
View File
@@ -68,4 +68,16 @@ class Category extends BaseModel
->select();
return $child;
}
// 根据ID范围查类别
public function srcBetweenID($low=0, $high=0)
{
$data = $this
->whereBetween('id', $low . ',' . $high)
->where('status', 1)
->field('id, title')
->select();
return $data;
}
}