Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
style: 1
yikaJasonMic13ae947996be
diff --git a/electron/main/interaction/service.ts b/electron/main/interaction/service.tsindex e101131e..d05b1d03 100644--- a/electron/main/interaction/service.ts+++ b/electron/main/interaction/service.ts@@ -132,7 +132,7 @@ export class InteractionService {}) => void,) {// console.log('------ autorInteraction', option);- let commentContentList = option.commentContent.split(',');+ const commentContentList = option.commentContent.split(',');// return;const userInfo = getUserInfo();@@ -213,7 +213,7 @@ export class InteractionService {if (option.commentType && option.commentType == 'custom') {// let commentContentList = option.commentContent.split(',');console.log('------ commentContentList', commentContentList);- let randomIndex = Math.floor(+ const randomIndex = Math.floor(Math.random() * commentContentList.length,);console.log('------ randomIndex', randomIndex);