additional batch method

This commit is contained in:
DeniskaRediska committed 2020-06-16 14:17:31 +03:00
1 parent e52217a99b
commit 983474cdb7
5 files changed
+28 -1

No files matched your search

+4
View File
@@ -17,6 +17,10 @@ func (c scriptController) Execute(req domain.ExecuteRequest) *domain.ScriptResp
return service.Script.Execute(req)
}
func (c scriptController) BatchExecute(req []domain.ExecuteByIdRequest) []domain.ScriptResp {
return service.Script.BatchExecute(req)
}
func (c scriptController) BatchExecuteById(req domain.BatchExecuteByIdsRequest) []domain.ScriptResp {
return service.Script.BatchExecuteById(req)
}