瀏覽代碼

Merge branch 'hotfix/report_classify_1211' into debug

hsun 1 年之前
父節點
當前提交
02ee331a0d
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      controllers/classify.go

+ 4 - 0
controllers/classify.go

@@ -669,6 +669,10 @@ func (this *ClassifyController) ListClassify() {
 	keyWord := this.GetString("KeyWord")
 	companyType := this.GetString("CompanyType")
 	hideDayWeek, _ := this.GetInt("HideDayWeek")
+	// 商家不隐藏晨周报
+	if utils.BusinessCode != utils.BusinessCodeRelease {
+		hideDayWeek = 0
+	}
 
 	var startSize int
 	if pageSize <= 0 {