feat: 增加重置模型倍率功能 (close #62)

This commit is contained in:
1808837298@qq.com committed 2024-05-24 15:28:16 +08:00
1 parent 222f5ec1e8
commit f723ff9ba0
9 files changed
+2811 -185

No files matched your search

+1
View File
@@ -72,6 +72,7 @@ func SetApiRouter(router *gin.Engine) {
{
optionRoute.GET("/", controller.GetOptions)
optionRoute.PUT("/", controller.UpdateOption)
optionRoute.POST("/rest_model_ratio", controller.ResetModelRatio)
}
channelRoute := apiRouter.Group("/channel")
channelRoute.Use(middleware.AdminAuth())