feat: 添加独立其他设置菜单及有效端参数保存
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"kra/internal/server/handler"
|
||||
)
|
||||
|
||||
func RegisterOtherSettings(private *gin.RouterGroup, h *handler.OtherSettings) {
|
||||
private.GET("/sw/settings/effectiveness", h.Get)
|
||||
private.PUT("/sw/settings/effectiveness", h.Save)
|
||||
}
|
||||
Reference in New Issue
Block a user