From 33a489ab93f7a9f8c1f88f001fb4188366c7f63c Mon Sep 17 00:00:00 2001 From: "menghaiwen@fusen.cn" Date: Thu, 7 Mar 2024 18:23:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=96=87=E4=BB=B6=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/resource.proto | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/service/resource.proto b/service/resource.proto index b195387..21cedc8 100644 --- a/service/resource.proto +++ b/service/resource.proto @@ -59,13 +59,6 @@ message ExportData { repeated string child = 1; } -message ExportFile { - string file_type = 1;// 文件类型 - string file_name = 2;// 文件名称 - bytes file_bytes = 3;// 文件流 - repeated ExportFile child =4; // 如果是zip类型,递归 -} - message ExportCsvReq { repeated ExportData file_data = 1; // 文件数据 string file_name = 2;// 文件名称 @@ -84,8 +77,9 @@ message ExportExcelRes { } message ExportZipReq { - repeated ExportFile file_data = 1; // 文件数据 + string file_type = 1;// 文件类型 string file_name = 2;// 文件名称 + bytes file_bytes = 3;// 文件流 } message ExportZipRes { string export_file_path = 1; // 下载链接