riku
2025-04-21 30748ea70f14c675743c7ea54e5c162d4a5e2839
src/api/clue/clueApi.js
@@ -14,9 +14,8 @@
    if (eTime) {
      url += `eTime=${eTime}&`;
    }
    return $clue.get(
      `${url}pageNum=${pageNum}&pageSize=${pageSize}`
    );
    return $clue.get(`${url}pageNum=${pageNum}&pageSize=${pageSize}`);
    // .then((res) => res.data);
  },
  /**
@@ -25,7 +24,9 @@
   * @returns
   */
  fetchRemoteClue(updateTime) {
    return $clue.get(`clue/fetch/remote?updateTime=${updateTime}`);
    return $clue
      .get(`clue/fetch/remote?updateTime=${updateTime}`)
      .then((res) => res.data);
  },
  fetchRemoteClueFileUrl(clueId) {
@@ -38,6 +39,8 @@
   * @returns 
   */
  pushClue(clueId) {
    return $clue.post(`clue/push?clueId=${clueId}`);
    return $clue
      .post(`clue/push?clueId=${clueId}`)
      .then((res) => res.data);
  }
};