diff --git a/app/controller/api/community/Community.php b/app/controller/api/community/Community.php index 6641383e..154a7aa8 100644 --- a/app/controller/api/community/Community.php +++ b/app/controller/api/community/Community.php @@ -61,9 +61,6 @@ class Community extends BaseController public function lst() { $where = $this->request->params(['keyword','topic_id','is_hot','category_id','spu_id', 'is_type', 'resale_type']); - if (isset($where['category_id']) && $where['category_id'] == 0) { - $where['is_type'] = $this->repository::COMMUNIT_TYPE_FONT; - } if (!$where['category_id']) { unset($where['category_id']); } else if ($where['category_id'] == -1) { diff --git a/public/index.prod.html b/public/index.dev.html similarity index 95% rename from public/index.prod.html rename to public/index.dev.html index de8fcb30..cf010ab8 100644 --- a/public/index.prod.html +++ b/public/index.dev.html @@ -2,4 +2,4 @@ document.write('') if(window.location.protocol == 'https:'){ document.write('') - }