riku
2025-04-25 4a836815f12e8ba717702cc8ed431e1b4f96134c
src/api/clue/clueConclusionApi.js
@@ -5,8 +5,12 @@
   * 获取线索结论
   * @param {string} clueId 线索id
   */
  getConclusion(clueId) {
    return $clue.get(`clue/conclusion/fetch?clueId=${clueId}`).then((res) => res.data);
  getConclusion(clueId, internal) {
    return $clue
      .get(`clue/conclusion/fetch`, {
        params: { clueId, internal }
      })
      .then((res) => res.data);
  },
  /**
@@ -15,7 +19,9 @@
   * @returns 
   */
  uploadConclusion(conclusion) {
    return $clue.post(`clue/conclusion/upload`, conclusion).then((res) => res.data);
    return $clue
      .post(`clue/conclusion/upload`, conclusion)
      .then((res) => res.data);
  },
  /**
@@ -24,6 +30,8 @@
   * @returns 
   */
  pushConclusion(conclusionIdList) {
    return $clue.post(`clue/conclusion/push`, conclusionIdList).then((res) => res.data);
    return $clue
      .post(`clue/conclusion/push`, conclusionIdList)
      .then((res) => res.data);
  }
};