From 1e9515ec3823bebb8d167875aa38e6cf29e3bdbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E8=8B=A5?= Date: Sun, 8 Mar 2026 11:34:05 +0800 Subject: [PATCH] =?UTF-8?q?sync:=20soul-api=20=E6=8E=A5=E5=8F=A3=E9=80=BB?= =?UTF-8?q?=E8=BE=91=20|=20=E5=8E=9F=E5=9B=A0:=20=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- soul-api/internal/handler/match.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soul-api/internal/handler/match.go b/soul-api/internal/handler/match.go index a35df728..3b2c6996 100644 --- a/soul-api/internal/handler/match.go +++ b/soul-api/internal/handler/match.go @@ -245,7 +245,7 @@ func MatchUsers(c *gin.Context) { orConds = append(orConds, "(is_vip = 1 AND vip_expire_date > NOW())") } if hasSource("complete") { - orConds = append(orConds, "((phone IS NOT NULL AND phone != '') AND (nickname IS NOT NULL AND nickname != ''))") + orConds = append(orConds, completeProfileSQL) } if len(orConds) > 0 { combined := "(" + orConds[0]