新增
This commit is contained in:
parent
eaf2ed3b73
commit
0cb6f65187
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user