feat: 新增美团脚本

This commit is contained in:
duanshuwen
2026-03-11 21:56:41 +08:00
parent 07d3e10056
commit f084e47c58
6 changed files with 58 additions and 8 deletions

View File

@@ -42,13 +42,15 @@ export function runTaskOperationService() {
})
const results: any[] = []
for (const item of scriptPaths) {
for (let i = 0; i < scriptPaths.length; i++) {
const item = scriptPaths[i]
log.info(`Launching script for channel ${item.channel}: ${item.scriptPath}`)
const result = await executeScriptServiceInstance.executeScript(item.scriptPath, {
roomType: roomType[item.channel],
startTime: options.startTime,
endTime: options.endTime,
operation: options.operation,
tabIndex: i,
})
results.push({
channel: item.channel,