Browse Source

fix_bug海通国际

xingzai 2 years ago
parent
commit
6f485cf396
1 changed files with 2 additions and 1 deletions
  1. 2 1
      controllers/home.go

+ 2 - 1
controllers/home.go

@@ -273,10 +273,11 @@ func (this *BaseHomeController) ListHomePublic() {
 		page = paging.GetPaging(currentIndex, pageSize, total)
 		if categoryId != "" {
 			condition += ` AND category_id IN(` + categoryId + `)`
-			condition += ` OR ( category_name  LIKE '%` + utils.CHART_PERMISSION_NAME_YANXUAN + `%' AND publish_status = 1 AND is_summary = 1 )`
+			//condition += ` OR ( category_name  LIKE '%` + utils.CHART_PERMISSION_NAME_YANXUAN + `%' AND publish_status = 1 AND is_summary = 1 )`
 		} else {
 			condition += ` AND  category_name   LIKE '%` + utils.CHART_PERMISSION_NAME_YANXUAN + `%'`
 		}
+
 	}
 	//永续客户无法查看研选分类的内容
 	if userType == 1 {