Browse Source

Merge branch 'dev/v4.8.47_dx' of qmx/jy into feature/v4.8.47

duxin 2 năm trước cách đây
mục cha
commit
fb143524f0
2 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 2 2
      src/jfw/config/config.go
  2. 2 2
      src/jfw/front/classificationTag.go

+ 2 - 2
src/jfw/config/config.go

@@ -26,7 +26,7 @@ var (
 	Middleground         *middleground.Middleground
 	HotWinnerConfig      HotConfig
 	HotBuyerConfig       HotConfig
-	HotSubjectMatter     []map[string]interface{}
+	SubjectMatter        []map[string]interface{}
 )
 
 type HotConfig struct {
@@ -70,7 +70,7 @@ func init() {
 		RegResourceCenter(g.Cfg().MustGet(ctx, "resourceCenterKey").String()).
 		RegEntManageApplication(g.Cfg().MustGet(ctx, "entManageApplication").String()).
 		RegPublicservice(g.Cfg().MustGet(ctx, "publicserviceKey").String())
-	HotSubjectMatter = GetLetterMap(util.InterfaceToStr(Sysconfig["hotSubjectMatter"]))
+	SubjectMatter = GetLetterMap(util.InterfaceToStr(Sysconfig["hotSubjectMatter"]))
 }
 
 func GetLetterMap(names string) []map[string]interface{} {

+ 2 - 2
src/jfw/front/classificationTag.go

@@ -54,10 +54,10 @@ func RegionAndInformationAndTender() map[string]interface{} {
 
 // HotSubjectMatter 热门标的物
 func HotSubjectMatter() []map[string]interface{} {
-	if config.HotSubjectMatter == nil || len(config.HotSubjectMatter) == 0 {
+	if config.SubjectMatter == nil || len(config.SubjectMatter) == 0 {
 		return config.GetLetterMap(qu.InterfaceToStr(config.Seoconfig["hotSubjectMatter"]))
 	}
-	return config.HotSubjectMatter
+	return config.SubjectMatter
 }
 
 // 最新更新的200中标企业