瀏覽代碼

fix: 修改model参数错误

zqbao 10 月之前
父節點
當前提交
9e9a15ebb1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/ai/ai_file.go

+ 1 - 1
controllers/ai/ai_file.go

@@ -40,7 +40,7 @@ func (this *AiFileController) FileUpload() {
 		br.ErrMsg = "获取资源信息失败,Err:" + err.Error()
 		return
 	}
-	model := this.GetString("model")
+	model := this.GetString("Model")
 
 	aiChatTopicId, _ := this.GetInt("AiChatTopicId")