From 87bce04d7cdf5ca427757071e7cc3b0847b64dfc Mon Sep 17 00:00:00 2001
From: gerson <1405270578@qq.com>
Date: 星期一, 01 七月 2024 11:37:25 +0800
Subject: [PATCH] question 传 id

---
 src/api/ai/chat.ts |   38 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/src/api/ai/chat.ts b/src/api/ai/chat.ts
index 99a0050..14056a1 100644
--- a/src/api/ai/chat.ts
+++ b/src/api/ai/chat.ts
@@ -161,6 +161,20 @@
 };
 
 
+
+
+
+export const DeleteHistoryGroups = async (params, req:any = request) => {
+	return req({
+	  url: "/history/delete_history_group",
+	  method: "POST",
+	  data: params,
+	  headers: {
+		  'Content-Type': 'application/x-www-form-urlencoded',
+	  },
+	});
+};
+
   
 
 export const QueryHistoryGroup = async (params, req:any = request) => {
@@ -185,3 +199,27 @@
 		},
 	});
 };
+
+
+export const GetHistoryAnswer= async (params, req:any = request) => {
+	return req({
+	  url: "/history/get_history_answer",
+	  method: "POST",
+	  data: params,
+	  headers: {
+		  'Content-Type': 'application/x-www-form-urlencoded',
+	  },
+	});
+  };
+
+
+  export const QueryHistoryDetail = async (params, req:any = request) => {
+	return req({
+	  url: "/history/query_history_detail",
+	  method: "POST",
+	  data: params,
+	  headers: {
+		  'Content-Type': 'application/x-www-form-urlencoded',
+	  },
+	});
+  };
\ No newline at end of file

--
Gitblit v1.9.3