修复:获取配置分类时 隐藏的分类也显示了
This commit is contained in:
parent
41a0d0c418
commit
ecb9690f93
|
|
@ -98,7 +98,7 @@ class SystemConfigClassifyDao extends BaseDao
|
|||
*/
|
||||
public function children(int $pid, string $field = 'config_classify_id,classify_name')
|
||||
{
|
||||
return SystemConfigClassify::getDB()->where('pid', $pid)->field($field)->select();
|
||||
return SystemConfigClassify::getDB()->where('pid', $pid)->where('status',1)->field($field)->select();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue