WH01243 2 年之前
父節點
當前提交
1174a0f708
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      jyBXSubscribe/api/internal/logic/subscribeListLogic.go

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

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