Przeglądaj źródła

Merge branch 'master' of http://192.168.3.207:8080/BaseService/jyMicroservices

wangshan 3 lat temu
rodzic
commit
fa0f376ec1

+ 2 - 2
jyBXBase/rpc/internal/logic/addsearchlogic.go

@@ -27,7 +27,7 @@ func NewAddSearchLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddSear
 	}
 }
 
-// 获取收藏列表
+// 添加搜索列表
 func (l *AddSearchLogic) AddSearch(in *bxbase.AddSearchReq) (res *bxbase.CommonRes, err error) {
 	// todo: add your logic here and delete this line
 	res = new(bxbase.CommonRes)
@@ -37,7 +37,7 @@ func (l *AddSearchLogic) AddSearch(in *bxbase.AddSearchReq) (res *bxbase.CommonR
 		res.ErrMsg = "用户未登录"
 		return
 	}
-	log.Println("添加收藏列表:", in)
+	log.Println("添加搜索列表:", in)
 	in.NotKey = strings.Replace(in.NotKey, " ", ",", -1)
 	in.Keywords = strings.Replace(in.Keywords, " ", ",", -1)
 	newData["keywords"] = in.Keywords

+ 2 - 2
jyBXBase/rpc/internal/logic/checksearchlogic.go

@@ -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{}{

+ 2 - 2
jyBXBase/rpc/internal/logic/delsearchlogic.go

@@ -25,7 +25,7 @@ func NewDelSearchLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DelSear
 	}
 }
 
-// 获取收藏列表
+// 删除搜索列表
 func (l *DelSearchLogic) DelSearch(in *bxbase.DelSearchReq) (res *bxbase.CommonRes, err error) {
 	// todo: add your logic here and delete this line
 	res = new(bxbase.CommonRes)
@@ -33,7 +33,7 @@ func (l *DelSearchLogic) DelSearch(in *bxbase.DelSearchReq) (res *bxbase.CommonR
 	if len(delId) < 1 {
 		return
 	}
-	log.Println("删除收藏列表:", in)
+	log.Println("删除搜索列表:", in)
 	var allDelId []primitive.ObjectID
 	for _, v := range delId {
 		ss, _ := primitive.ObjectIDFromHex(v)

+ 1 - 1
jyBXBase/rpc/internal/logic/showsearchlogic.go

@@ -31,7 +31,7 @@ func (l *ShowSearchLogic) ShowSearch(in *bxbase.ShowSearchReq) (res *bxbase.Show
 	var (
 		data []*bxbase.ListSearchRes
 	)
-	log.Println("获取收藏列表:", in)
+	log.Println("获取搜索列表:", in)
 	res = new(bxbase.ShowSearchRes)
 	if in.UserId == "" {
 		res.ErrCode = 1