marvzhang
2019-12-04 16:33:02 +08:00
parent 50b53b9ed4
commit 82c7cd63b7
3 changed files with 44 additions and 17 deletions

View File

@@ -118,10 +118,11 @@ const actions = {
})
},
crawlSpider ({ state, dispatch }, payload) {
const { id, nodeId, param } = payload
const { spiderId, runType, nodeIds, param } = payload
return request.put(`/tasks`, {
spider_id: id,
node_id: nodeId,
spider_id: spiderId,
run_type: runType,
node_ids: nodeIds,
param: param
})
},