Skip to content

Let's use AI to Earn!

style: 1

牛文政44534b7d050e
diff --git a/src/views/replyother/index.tsx b/src/views/replyother/index.tsx
index 49d98896..59584f7b 100644
--- a/src/views/replyother/index.tsx
+++ b/src/views/replyother/index.tsx
@@ -1,10 +1,8 @@
import {
- icpCreatorList,
icpGetCommentListByOther,
icpGetSecondCommentListByOther,
WorkData,
CommentData,
- icpCreateCommentList,
getCommentSearchNotes,
} from '@/icp/replyother';
import {
@@ -35,7 +33,6 @@ import ReplyWorks, { ReplyWorksRef } from './components/replyWorks';
import ReplyComment, { ReplyCommentRef } from './components/replyComment';
import AddAutoRun, { AddAutoRunRef } from './components/addAutoRun';
import { icpDianzanDyOther, icpShoucangDyOther } from '@/icp/replyother';
-import { commentApi } from '@/api/comment';
import {
LikeOutlined,
StarOutlined,
@@ -54,6 +51,7 @@ import { AccountModel } from '../../../electron/db/models/account';
import WebView from '../../components/WebView';
// @ts-ignore
import { useInView } from 'react-intersection-observer';
+import { icpCreatorList } from '@/icp/reply';
export default function Page() {
const [wordList, setWordList] = useState<WorkData[]>([]);
@@ -227,7 +225,6 @@ export default function Page() {
return;
}
const thisida = thisid ? thisid : activeAccountId;
- console.log('------ getCreatorList thisida', thisida);
const res = await icpCreatorList(thisida);
console.log('------ icpCreatorList', res);
setWordList(res.list);
@@ -316,14 +313,6 @@ export default function Page() {
}
}
- /**
- * 一键AI评论
- */
- async function createCommentList(data: WorkData) {
- const res = await icpCreateCommentList(activeAccountId, data.dataId);
- console.log('------ res', res);
- }
-
/**
* 打开作品评论
* @param data