Browse Source

feat:潜在客户

wangshan 2 years ago
parent
commit
526fda96cb
1 changed files with 4 additions and 5 deletions
  1. 4 5
      src/jfw/modules/bigmember/src/service/analysis/potential.go

+ 4 - 5
src/jfw/modules/bigmember/src/service/analysis/potential.go

@@ -203,8 +203,8 @@ func (this *Analysis) CsORRsList() {
 							list = list[:c_limitcount]
 						}
 					}
-					if len(list) > 100 {
-						list = list[:100]
+					if len(list) > config.Config.PotentialCount {
+						list = list[:config.Config.PotentialCount]
 					}
 					regMap.Data = map[string]interface{}{
 						"list":         list,
@@ -244,9 +244,8 @@ func (this *Analysis) CsORRsList() {
 							list = list[:r_limitcount]
 						}
 					}
-
-					if len(list) > 100 {
-						list = list[:100]
+					if len(list) > config.Config.PotentialCount {
+						list = list[:config.Config.PotentialCount]
 					}
 					regMap.Data = map[string]interface{}{
 						"list":         list,