|
@@ -42,9 +42,7 @@ func (l *AddSearchLogic) AddSearch(in *bxbase.AddSearchReq) (res *bxbase.CommonR
|
|
|
return
|
|
|
}
|
|
|
log.Println("添加搜索列表:", in)
|
|
|
- in.NotKey = strings.Replace(in.NotKey, " ", ",", -1)
|
|
|
in.Keywords = strings.Replace(in.Keywords, " ", ",", -1)
|
|
|
- in.AdditionalWords = strings.Replace(in.AdditionalWords, " ", ",", -1)
|
|
|
newData["keywords"] = in.Keywords
|
|
|
newData["type"] = in.Type
|
|
|
newData["publish_time"] = in.PublishTime
|