Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
style: 删除弃用的评论搜索接口
牛文政483a1d1b039c
diff --git a/src/api/comment.ts b/src/api/comment.tsdeleted file mode 100644index 338a293e..00000000--- a/src/api/comment.ts+++ /dev/null@@ -1,37 +0,0 @@-/*- * @Author: nevin- * @Date: 2025-02-22 12:02:55- * @LastEditTime: 2025-03-02 22:21:01- * @LastEditors: nevin- * @Description: 评论用API- */-import http from './request';-export const commentApi = {- /**- * 发起获取评论任务- * @param taskType- * @param keywords- */- runCommentSearchNotesTask(taskType: string, keywords: string) {- return http.get<string>(- `/dataResource/comment/runTask?taskType=${taskType}&keywords=${keywords}`,- {- isToken: true,- },- );- },-- /**- * 获取抓取数据的结果- * @param taskType- * @param taskId- */- getCommentSearchNotes(taskType: string, taskId: string) {- return http.get<any[]>(- `/dataResource/comment/list?taskType=${taskType}&taskId=${taskId}`,- {- isToken: true,- },- );- },-};