|
@@ -307,7 +307,7 @@ func subStrDetail(matchKey, detail string) string {
|
|
|
}
|
|
|
matchKeys = append(matchKeys, regexp.QuoteMeta(v))
|
|
|
}
|
|
|
- if len(matchKeys) > 0 {
|
|
|
+ if len(matchKeys) == 0 {
|
|
|
return ""
|
|
|
}
|
|
|
indexs := regexp.MustCompile(strings.Join(matchKeys, "|")).FindStringIndex(detail)
|