Sfoglia il codice sorgente

Merge branch 'dev/v1.1.18.2_wh' of BaseService/jyMicroservices into hotfix/v1.1.18.2

王浩 2 anni fa
parent
commit
77cf45924f

+ 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, ",")
+			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, ",")
+			strings.ReplaceAll(matchkeys, " ", ",")
 		}
 	} else {
 		matchkeys = req.KeyWords