feat: 新增美团脚本
This commit is contained in:
@@ -22,6 +22,7 @@ export class executeScriptService extends EventEmitter {
|
||||
const startTime = options?.startTime ?? '';
|
||||
const endTime = options?.endTime ?? '';
|
||||
const operation = options?.operation ?? '';
|
||||
const tabIndex = options?.tabIndex ?? '';
|
||||
|
||||
const child = spawn('node', [scriptPath], {
|
||||
env: {
|
||||
@@ -29,7 +30,8 @@ export class executeScriptService extends EventEmitter {
|
||||
ROOM_TYPE: String(roomType),
|
||||
START_DATE: String(startTime),
|
||||
END_DATE: String(endTime),
|
||||
OPERATION: String(operation)
|
||||
OPERATION: String(operation),
|
||||
TAB_INDEX: String(tabIndex),
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user