From 0cb6f6518788ec85cd45c8b598f91dacf3e4db08 Mon Sep 17 00:00:00 2001 From: "menghaiwen@fusen.cn" Date: Thu, 7 Dec 2023 16:25:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/resource.proto | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/service/resource.proto b/service/resource.proto index edf6e36..bcff91d 100644 --- a/service/resource.proto +++ b/service/resource.proto @@ -37,7 +37,27 @@ service resource { // logo裁剪处理 rpc LogoCropping(LogoCroppingReq) returns (LogoCroppingRes) {} + + // logo缩略处理 + rpc LogoResize(LogoResizeReq) returns (LogoResizeRes) {} + } +/* logo缩略处理 */ +message LogoResizeReq{ + string resource_id=1; + int64 width=2; + int64 height=3; + + int64 handle_type = 100; // 类型:1=缓存 2=重新 3=临时 + int64 user_id = 101; + int64 guest_id = 102; +} +message LogoResizeRes{ + string resource_id=1; + string resource_url=2; +} +/* logo缩略处理 */ + /* 更新资源详情 */ message ResourceSaveReq { optional ResourceFilter filter=1;