12 lines
264 B
Go
12 lines
264 B
Go
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)
|
|
}
|