完成学校与教师

This commit is contained in:
cxdbz committed 2018-10-28 22:37:37 +08:00
1 parent 25cc4897eb
commit 0dbee995fc
41 files changed
+2118 -37

No files matched your search

-10
View File
@@ -6,16 +6,6 @@ use app\common\model\Base;
class Category extends Base
{
// 获取类别列表
public function getCategory($id = 0)
{
return $this
->where('pid',$id)
->where('status',1)
->field('id,title')
->select();
}
// 父级类别获取器
public function getPidAttr($value)