feat: 新增美团脚本
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user