Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
sousuoliebiao
DESKTOP-ZTS2NQJNA68acb0da7fb6
diff --git a/electron/main/plat/platforms/douyin/index.ts b/electron/main/plat/platforms/douyin/index.tsindex 3149c4ca..24684f1b 100644--- a/electron/main/plat/platforms/douyin/index.ts+++ b/electron/main/plat/platforms/douyin/index.ts@@ -195,7 +195,7 @@ export class Douyin extends PlatformBase {* @param pcursor* @returns*/- async getsearchNodeList(+ async getsearchNodeList(account: AccountModel,qe: string,pageInfo?: any,diff --git a/electron/plat/douyin/index.ts b/electron/plat/douyin/index.tsindex f364ada6..8abe4bc0 100644--- a/electron/plat/douyin/index.ts+++ b/electron/plat/douyin/index.ts@@ -2223,21 +2223,22 @@ export class DouyinService {let pcursor = (pageInfo.pcursor && Number(pageInfo.pcursor) < 16) ? 0 : pageInfo.pcursor;const thisUri = `https://www.douyin.com/aweme/v1/web/search/item/?${jsonToQueryString({- aid: '1',+ aid: '6383',keyword: qe,offset: pcursor,- count: 16,- },+ count: 16+ })}`;+console.log('------douyin getsearchNodeList uri: ', thisUri);const res = await requestNet<any>({url: thisUri,headers: {- cookie: CookieToString(cookie),+ cookie: CookieToString(cookie)},method: 'GET',});- console.log('------douyin getsearchNodeList res: ', res);+ console.log('------douyin getsearchNodeList res: ', res.data);return res;}diff --git a/src/views/replyother/index.tsx b/src/views/replyother/index.tsxindex 45fa6a9e..24e1993e 100644--- a/src/views/replyother/index.tsx+++ b/src/views/replyother/index.tsx@@ -579,7 +579,7 @@ export default function Page() {} else if (info.type == 'douyin') {console.log('------ douyin kaihis ');setActiveAccountId(info.id);- getSearchListFunc(info.id, '英雄杀道一');+ getSearchListFunc(info.id, '英雄杀');}},[getCreatorList],