RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Go: remove unused APIs (#21073)
Jin Hai13e573ce112d
diff --git a/internal/admin/handler_ee.go b/internal/admin/handler_ee.goindex b15fdbc0d3..9c1d96ce3b 100644--- a/internal/admin/handler_ee.go+++ b/internal/admin/handler_ee.go@@ -2126,35 +2126,3 @@ func (h *Handler) ListLogs(c *gin.Context) {common.SuccessWithData(c, stats, "success")}--// GetFingerprint handle get system fingerprint-func (h *Handler) GetFingerprint(c *gin.Context) {- common.ResponseWithHttpCodeData(c, http.StatusNotImplemented, common.CodeBadRequest, nil, "method not implemented")- return-}--type SetLicenseHTTPRequest struct {- License string `json:"license" binding:"required"`-}--// SetLicense to set system license-func (h *Handler) SetLicense(c *gin.Context) {- common.ResponseWithHttpCodeData(c, http.StatusNotImplemented, common.CodeBadRequest, nil, "method not implemented")- return-}--type SetLicenseConfigHTTPRequest struct {- TimeRecordSaveInterval int64 `json:"value1" binding:"required"`- TimeRecordTaskDuration int64 `json:"value2" binding:"required"`-}--func (h *Handler) UpdateLicenseConfig(c *gin.Context) {- common.ResponseWithHttpCodeData(c, http.StatusNotImplemented, common.CodeBadRequest, nil, "method not implemented")- return-}--// ShowLicense to get system license-func (h *Handler) ShowLicense(c *gin.Context) {- common.ResponseWithHttpCodeData(c, http.StatusNotImplemented, common.CodeBadRequest, nil, "method not implemented")- return-}diff --git a/internal/admin/router_ee.go b/internal/admin/router_ee.goindex e0586f02ac..af3d0c90a8 100644--- a/internal/admin/router_ee.go+++ b/internal/admin/router_ee.go@@ -74,11 +74,6 @@ func RegisterEERouter(protected *gin.RouterGroup, r *Router) {protected.GET("/system/soft-fingerprint", r.handler.ShowSoftFingerprint)protected.DELETE("/system/soft-fingerprint", r.handler.DeleteSoftFingerprint)- protected.GET("/fingerprint", r.handler.GetFingerprint)- protected.POST("/license", r.handler.SetLicense)- protected.POST("/license/config", r.handler.UpdateLicenseConfig)- protected.GET("/license", r.handler.ShowLicense)-// Token statisticsprotected.GET("/stats/token", r.handler.GetTokenStats)protected.GET("/stats/token/users", r.handler.GetTokenUsersStats)