Browse Source

no message

xingzai 1 năm trước cách đây
mục cha
commit
1523656de4
2 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 3 0
      controllers/report.go
  2. 1 0
      models/report.go

+ 3 - 0
controllers/report.go

@@ -1408,6 +1408,9 @@ func (this *ReportController) IsShow() {
 	resp.IsBelongRai = services.GetBelongingRai(user.Mobile)
 	resp.IsShowQuestionnaire = services.GetQuestionnaireButtonIsShow() // 获取研选问卷调查按钮是否展示
 	resp.IsShowResearchPoints = true
+	if utils.RunMode == "release" { //是否展示关于我们的视频,测试环境审核做隐藏
+		resp.IsShowAboutVideo = true
+	}
 	//mobile := user.Mobile
 	//if mobile == "" {
 	//	br.Ret = 200

+ 1 - 0
models/report.go

@@ -383,6 +383,7 @@ type IsShow struct {
 	IsBelongRai            bool      `description:"是否属于权益内部人员"`
 	IsShowResearchPoints   bool      `description:"是否展示研选扣点搜索"`
 	IsShowQuestionnaire    bool      `description:"是否展示研选问卷调查"`
+	IsShowAboutVideo       bool      `description:"是否展示关于我们的视频"`
 }
 
 type SearchTxt struct {