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;