Forráskód Böngészése

Merge branch 'hotfix/report_classify_1211' into debug

hsun 1 éve
szülő
commit
02ee331a0d
1 módosított fájl, 4 hozzáadás és 0 törlés
  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 {