From 233a467167e2b363098cc7fa63e7f26d1d15507b Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期日, 27 四月 2025 16:23:28 +0800
Subject: [PATCH] 线索任务

---
 services/clue/fetchClue.js |   38 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/services/clue/fetchClue.js b/services/clue/fetchClue.js
index be15df5..6c6d3de 100644
--- a/services/clue/fetchClue.js
+++ b/services/clue/fetchClue.js
@@ -61,6 +61,42 @@
   });
 }
 
+/**
+ * 鏌ヨ绾跨储浠诲姟
+ * @param {object} options 鏌ヨ鏉′欢
+ * @param {Number} page 椤电爜
+ * @param {Number} per_page 鍗曢〉鏁版嵁閲�
+ * @returns
+ */
+function searchClueTask(options, page, per_page) {
+  return post(
+    {
+      url: `clue/task/search`,
+      params:{page, per_page},
+      data: options,
+    },
+    clueUrl,
+  ).then(res => {
+    return res.data;
+  });
+}
+
+/**
+ * 鏌ヨ绾跨储浠诲姟
+ * @param {object} options 鏌ヨ鏉′欢
+ * @returns
+ */
+function fetchClueTaskSummary(options) {
+  return post(
+    {
+      url: `clue/task/summary`,
+      data: options,
+    },
+    clueUrl,
+  ).then(res => {
+    return res.data;
+  });
+}
 /******************************************************************************* */
 /**
  * 鑾峰彇绾跨储缁撹
@@ -195,6 +231,8 @@
   fetchClue,
   fetchClueInternal,
   fetchClueTask,
+  searchClueTask,
+  fetchClueTaskSummary,
   getConclusion,
   uploadConclusion,
   updateQuestion,

--
Gitblit v1.9.3