feat: 添加独立其他设置菜单及有效端参数保存

This commit is contained in:
Yvan
2026-11-04 21:18:31 +08:00
parent c2e8b729be
commit ca9ce99b66
27 changed files with 805 additions and 9 deletions
+11
View File
@@ -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)
}