From 2b04529f7bcc93821ff4985eb605142d8f911ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E8=8B=A5?= Date: Sun, 8 Mar 2026 08:26:23 +0800 Subject: [PATCH] =?UTF-8?q?sync:=20soul-api=20=E8=B7=AF=E7=94=B1=20|=20?= =?UTF-8?q?=E5=8E=9F=E5=9B=A0:=20=E5=90=8E=E7=AB=AF=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- soul-api/internal/router/router.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/soul-api/internal/router/router.go b/soul-api/internal/router/router.go index 8051b401..e8ed447a 100644 --- a/soul-api/internal/router/router.go +++ b/soul-api/internal/router/router.go @@ -149,6 +149,14 @@ func Setup(cfg *config.Config) *gin.Engine { db.PUT("/mentors", handler.DBMentorsAction) db.DELETE("/mentors", handler.DBMentorsAction) db.GET("/mentor-consultations", handler.DBMentorConsultationsList) + // 用户旅程规则 + db.GET("/user-rules", handler.DBUserRulesList) + db.POST("/user-rules", handler.DBUserRulesAction) + db.PUT("/user-rules", handler.DBUserRulesAction) + db.DELETE("/user-rules", handler.DBUserRulesAction) + // RFM 估值 + db.GET("/users/rfm", handler.DBUsersRFM) + db.GET("/users/rfm-single", handler.DBUserRFMSingle) } // ----- 分销 -----