Parcourir la source

diy选择文章分类问题修复

吴昊天 il y a 2 ans
Parent
commit
d18c15bb53
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      crmeb/app/dao/article/ArticleCategoryDao.php

+ 0 - 1
crmeb/app/dao/article/ArticleCategoryDao.php

@@ -73,7 +73,6 @@ class ArticleCategoryDao extends BaseDao
             ->where('hidden', 0)
             ->where('hidden', 0)
             ->where('is_del', 0)
             ->where('is_del', 0)
             ->where('status', 1)
             ->where('status', 1)
-            ->where('pid', '>', 0)
             ->order('sort DESC')
             ->order('sort DESC')
             ->field('id,pid,title')
             ->field('id,pid,title')
             ->select()->toArray();
             ->select()->toArray();