From 6417b59ca3f44057084ffe48b553f8cead77e9ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E8=8B=A5?= Date: Sun, 8 Mar 2026 08:52:46 +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/miniprogram.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/soul-api/internal/handler/miniprogram.go b/soul-api/internal/handler/miniprogram.go index 1c93e3ce..d03a06be 100644 --- a/soul-api/internal/handler/miniprogram.go +++ b/soul-api/internal/handler/miniprogram.go @@ -631,6 +631,8 @@ func MiniprogramPhone(c *gin.Context) { db := database.DB() db.Model(&model.User{}).Where("id = ?", req.UserID).Update("phone", phoneNumber) fmt.Printf("[MiniprogramPhone] 手机号已绑定到用户: %s\n", req.UserID) + // 绑定手机号后,异步调用神射手自动完善标签 + AdminShensheShouAutoTag(req.UserID, phoneNumber) } c.JSON(http.StatusOK, gin.H{