feature: add nextWeb Service

This commit is contained in:
2024-10-02 16:52:10 +07:00
parent 9f885c9df9
commit db526c2796
7 changed files with 169 additions and 2 deletions
+2
View File
@@ -43,6 +43,8 @@ func InitRouter() *gin.Engine {
r.GET("/v1/users/oidc/health", v1.OIDCHealthCheck)
r.GET("/v1/users/oidc/settings", v1.GetOIDCSettings)
r.POST("/v1/users/oidc/saveSettings", v1.SaveOIDCSettings)
r.GET("/v1/users/1panel/health", v1.OnePanelHealthCheck)
r.POST("/v1/users/1panel/login", v1.OnePanelLogin)
v1Group := r.Group("/v1")
v1Group.Use(jwt.JWT(