|
@@ -26,7 +26,7 @@ func NewCheckSearchLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Check
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// 修改筛选列表
|
|
|
+// 校验搜索列表
|
|
|
func (l *CheckSearchLogic) CheckSearch(in *bxbase.AddSearchReq) (res *bxbase.CommonRes, err error) {
|
|
|
// todo: add your logic here and delete this line
|
|
|
res = new(bxbase.CommonRes)
|
|
@@ -40,7 +40,7 @@ func (l *CheckSearchLogic) CheckSearch(in *bxbase.AddSearchReq) (res *bxbase.Com
|
|
|
res.ErrMsg = "请先输入关键词"
|
|
|
return
|
|
|
}
|
|
|
- log.Println("校验收藏列表:", in)
|
|
|
+ log.Println("校验搜索列表:", in)
|
|
|
in.NotKey = strings.Replace(in.NotKey, " ", ",", -1)
|
|
|
in.Keywords = strings.Replace(in.Keywords, " ", ",", -1)
|
|
|
query := map[string]interface{}{
|