From fe2d4623b7ad5ce6e9706125e1f33581ea8b03f0 Mon Sep 17 00:00:00 2001
From: liudong <liudong>
Date: 星期二, 20 八月 2024 18:35:59 +0800
Subject: [PATCH] 历史记录添加滚动分页

---
 src/api/Agent.ts |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/api/Agent.ts b/src/api/Agent.ts
index df889fa..de7af61 100644
--- a/src/api/Agent.ts
+++ b/src/api/Agent.ts
@@ -41,9 +41,17 @@
   });
 }
 
+// 鐢ㄦ埛涔犳儻浼氳瘽鍒楄〃
+export function appUsageSessionListApi(dialog_id) {
+  return axios.get(
+    "/api/v1/conversation/app_usage"
+  );
+}
 
-
-
+// 鐢ㄦ埛涔犳儻鍒犻櫎鎺ュ彛
+export function deleteAppUsage(params) {
+  return axios.post('/api/v1/conversation/app_usage/rm', params);
+}
 
 
 

--
Gitblit v1.8.0