This commit is contained in:
menghaiwen@fusen.cn 2023-12-07 16:25:22 +08:00
parent eaf2ed3b73
commit 0cb6f65187

View File

@ -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;