From 89323ef5405d9e1721b85afcba55984feb9d1942 Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期四, 04 七月 2024 17:59:51 +0800
Subject: [PATCH] 增加日期筛选;点踩接口对接;权限优化

---
 src/api/ai/chat.ts |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/src/api/ai/chat.ts b/src/api/ai/chat.ts
index 1dd16a8..e41541a 100644
--- a/src/api/ai/chat.ts
+++ b/src/api/ai/chat.ts
@@ -148,11 +148,10 @@
 	});
 };
 
-export const GetHistoryGroups = async (params, req: any = request) => {
+export const GetHistoryGroups = async ( req: any = request) => {
 	return req({
 		url: '/history/get_history_groups',
 		method: 'POST',
-		data: params,
 		headers: {
 			'Content-Type': 'application/x-www-form-urlencoded',
 		},
@@ -228,3 +227,22 @@
 		method: 'POST',
 	});
 };
+
+
+
+
+
+
+/**
+ * @summary 璁剧疆鍘嗗彶瀵硅瘽鐘舵�侊紙鏈缃細NULL锛岄《1锛岃俯0
+ */
+export const SetHistoryAnswerState = async (params, req:any = request) => {
+  return req({
+	url: "/history/set_history_answer_state",
+	method: "POST",
+	data: params,
+	headers: {
+		'Content-Type': 'application/x-www-form-urlencoded',
+	},
+  });
+};

--
Gitblit v1.9.3