|
@@ -246,14 +246,14 @@ func (c *Customer) GetData(stype string) {
|
|
|
for i, aw := range sr.AW {
|
|
|
// qu.Debug("-------------------------开始附加词匹配--------------------------")
|
|
|
IsMatchAddKey := RegMatch(fieldText, aw.MatchType, aw.KeyReg, nil, nil, false, true)
|
|
|
- qu.Debug(IsMatchAddKey, id, "IsMatchAddKey------------------------------------------------------------")
|
|
|
+ // qu.Debug(IsMatchAddKey, "------------------------------------------------------------")
|
|
|
|
|
|
//2.关键词匹配
|
|
|
if IsMatchAddKey {
|
|
|
kw := sr.KW[i]
|
|
|
// qu.Debug("-------------------------开始关键词匹配--------------------------")
|
|
|
IsMatchKey := RegMatch(fieldText, kw.MatchType, kw.KeyReg, matchKey, matchKeyType, true, false)
|
|
|
- qu.Debug(IsMatchKey, id, "IsMatchKey------------------------------------------------------------")
|
|
|
+ // qu.Debug(IsMatchKey, "------------------------------------------------------------")
|
|
|
if IsMatchKey {
|
|
|
IsMatch = true
|
|
|
}
|