Merge pull request '🐛 Fix a bug.' (#76) from hotfix into main
All checks were successful
BuildImage / build-image (push) Successful in 1m21s

Reviewed-on: #76
This commit is contained in:
李寻欢 2024-07-11 19:32:47 +08:00
commit 534fc904a2

View File

@ -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) // 修改是否开启指令状态