add api file

This commit is contained in:
akrike
2025-08-14 22:22:08 +08:00
parent 37748ecb7f
commit 1dc2d77e82
11 changed files with 280 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ func routePathInit(r *gin.Engine) {
{
configGroup.GET("", bind(api.ConfigApi.GetSystemConfiguration, None))
configGroup.PUT("", bind(api.ConfigApi.SetSystemConfiguration, None))
configGroup.PUT("/log", bind(api.ConfigApi.LogConfigReload, None))
configGroup.GET("/reload", bind(api.ConfigApi.LogConfigReload, None))
}
}
}