|
@@ -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,
|