浏览代码

Merge branch 'master' into feature/v1.1.14

lianbingjie 2 年之前
父节点
当前提交
560f7daf86

+ 1 - 0
jyBXSubscribe/api/internal/logic/byPushHistoryLogic.go

@@ -51,6 +51,7 @@ func (l *ByPushHistoryLogic) ByPushHistory(req *types.SubscribeReq) (resp *types
 		}
 		if len(matchkeysArr) != 0 {
 			matchkeys = strings.Join(matchkeysArr, ",")
+			matchkeys = strings.ReplaceAll(matchkeys, " ", ",")
 		}
 	} else {
 		matchkeys = req.KeyWords

+ 1 - 0
jyBXSubscribe/api/internal/logic/subscribeListLogic.go

@@ -53,6 +53,7 @@ func (l *SubscribeListLogic) SubscribeList(req *types.SubscribeReq) (resp *types
 		}
 		if len(matchkeysArr) != 0 {
 			matchkeys = strings.Join(matchkeysArr, ",")
+			matchkeys = strings.ReplaceAll(matchkeys, " ", ",")
 		}
 	} else {
 		matchkeys = req.KeyWords