diff --git a/router/router.go b/router/router.go index eb4618a..d216360 100644 --- a/router/router.go +++ b/router/router.go @@ -24,7 +24,7 @@ func Init(g *gin.Engine) { // 接口 api := g.Group("/api") api.PUT("/ai/status", app.ChangeEnableAiStatus) // 修改是否开启AI状态 - api.POST("/ai/dto", app.ChangeUseAiModel) // 修改使用的AI模型 + api.POST("/ai/model", app.ChangeUseAiModel) // 修改使用的AI模型 api.POST("/ai/assistant", app.ChangeUseAiAssistant) // 修改使用的AI助手 api.PUT("/welcome/status", app.ChangeEnableWelcomeStatus) // 修改是否开启迎新状态 api.PUT("/command/status", app.ChangeEnableCommandStatus) // 修改是否开启指令状态