|
@@ -424,7 +424,7 @@ class ViolationProduct extends Controller
|
|
|
if(!$result) return json_send(['code' => 'fail', 'msg' => '导出任务添加失败', 'data' => '']);
|
|
if(!$result) return json_send(['code' => 'fail', 'msg' => '导出任务添加失败', 'data' => '']);
|
|
|
ExportViolationProductJobs::dispatch($message_data);
|
|
ExportViolationProductJobs::dispatch($message_data);
|
|
|
// ExportViolationProductJobs::dispatchSync($message_data);
|
|
// ExportViolationProductJobs::dispatchSync($message_data);
|
|
|
- return json_send(['code' => 'success', 'msg' => '导出任务添加成功', 'data' => '']);
|
|
|
|
|
|
|
+ return json_send(['code' => 'success', 'msg' => '导出任务添加成功', 'data' => ['file_id' => $fileId, 'file_name' => $fileName]]);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|