feat: live module and jenkins pipeline to harbor deploy
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"kra/internal/server/handler"
|
||||
)
|
||||
|
||||
func RegisterPlatformSetting(public, private *gin.RouterGroup, h *handler.PlatformSetting) {
|
||||
public.GET("/live/settings", h.Get)
|
||||
private.PUT("/live/admin/settings", h.Save)
|
||||
}
|
||||
Reference in New Issue
Block a user