From 94045186501808e444a31584ea0362abc04f37c5 Mon Sep 17 00:00:00 2001
From: gerson <1405270578@qq.com>
Date: 星期日, 30 六月 2024 17:31:36 +0800
Subject: [PATCH] chat.ts

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

diff --git a/src/api/ai/chat.ts b/src/api/ai/chat.ts
index 99a0050..db97cb3 100644
--- a/src/api/ai/chat.ts
+++ b/src/api/ai/chat.ts
@@ -185,3 +185,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