Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
修改
daoyianb667e61e6109
diff --git a/electron/main/interaction/controller.ts b/electron/main/interaction/controller.tsindex f37aeb25..df6094b2 100644--- a/electron/main/interaction/controller.ts+++ b/electron/main/interaction/controller.ts@@ -100,7 +100,7 @@ export class InteractionController {}/**- * 创建自动一键互动任务+ * 创建自动AI评论截流任务*/@Icp('ICP_AUTO_RUN_INTERACTION')async createReplyCommentAutoRun(@@ -147,7 +147,7 @@ export class InteractionController {}/**- * 获取一键互动的记录列表+ * 获取AI评论截流的记录列表*/@Icp('ICP_GET_INTERACTION_RECORD_LIST')async getInteractionRecordList(@@ -168,7 +168,7 @@ export class InteractionController {}/**- * 获取一键互动的任务信息+ * 获取AI评论截流的任务信息*/@Icp('ICP_GET_AUTO_INTERACTION_INFO')async getAutoInteractionInfo(diff --git a/electron/main/interaction/service.ts b/electron/main/interaction/service.tsindex a1ca07dd..c621b6f1 100644--- a/electron/main/interaction/service.ts+++ b/electron/main/interaction/service.ts@@ -105,7 +105,7 @@ export class InteractionService {}/**- * 自动一键互动:作品评论,收藏,点赞+ * 自动AI评论截流:作品评论,收藏,点赞* 规则:评论作品,已经评论不评论*/async autorInteraction(diff --git a/src/icp/reply.ts b/src/icp/reply.tsindex ad98a895..399c5f87 100644--- a/src/icp/reply.ts+++ b/src/icp/reply.ts@@ -166,7 +166,7 @@ export async function ipcGetAutoRunOfReplyInfo() {}/**- * 获取一键互动的记录列表+ * 获取AI评论截流的记录列表* @param page* @param query*/diff --git a/src/icp/replyother.ts b/src/icp/replyother.tsindex a959243e..98e09cc3 100644--- a/src/icp/replyother.ts+++ b/src/icp/replyother.ts@@ -222,7 +222,7 @@ export async function icpCreateInteractionOneKey(}/**- * 创建一键互动自动进程+ * 创建AI评论截流自动进程* @param accountId* @param dataId* @param cycleType@@ -241,7 +241,7 @@ export async function ipcCreateAutoRunOfInteraction(return res;}-// 获取一键互动自动进程信息+// 获取AI评论截流自动进程信息export async function ipcGetAutoRunOfInteractionInfo() {const res: any = await window.ipcRenderer.invoke('ICP_GET_AUTO_INTERACTION_INFO',@@ -250,7 +250,7 @@ export async function ipcGetAutoRunOfInteractionInfo() {}/**- * 获取一键互动的记录列表+ * 获取AI评论截流的记录列表* @param page* @param query*/diff --git a/src/router/index.tsx b/src/router/index.tsxindex 7e4fc45c..10332488 100644--- a/src/router/index.tsx+++ b/src/router/index.tsx@@ -126,7 +126,7 @@ export const router: CustomRouteObject[] = [{path: '/Replyother',element: <Replyother />,- meta: { name: '一键互动', icon: MessageOutlined },+ meta: { name: 'AI评论截流', icon: MessageOutlined },},{path: '/statistics',diff --git a/src/views/interaction/components/oneKeyInteraction.tsx b/src/views/interaction/components/oneKeyInteraction.tsxindex ebaca7b3..c4b64110 100644--- a/src/views/interaction/components/oneKeyInteraction.tsx+++ b/src/views/interaction/components/oneKeyInteraction.tsx@@ -3,7 +3,7 @@* @Date: 2025-03-18 21:02:38* @LastEditTime: 2025-03-31 11:02:12* @LastEditors: nevin- * @Description: 一键互动+ * @Description: AI评论截流*/import { WorkData } from '@/icp/reply';import { message, Modal } from 'antd';@@ -33,7 +33,7 @@ const Com = forwardRef<InteractionOneKeyRef>((props: any, ref) => {}/**- * 一键互动+ * AI评论截流*/async function createInteractionOneKey(inAccountId: number,diff --git a/src/views/interaction/index.tsx b/src/views/interaction/index.tsxindex 4d442b50..4c5e79b6 100644--- a/src/views/interaction/index.tsx+++ b/src/views/interaction/index.tsx@@ -88,7 +88,7 @@ export default function Page() {<Tabs defaultActiveKey="1" className="w-full"><Tabs.TabPane tab="作品列表" key="1"><Popconfirm- title="确认进行一键互动"+ title="确认进行AI评论截流"onConfirm={(e?: React.MouseEvent<HTMLElement>) => {Ref_InteractionOneKey.current?.init(activeAccountId, wordList);}}