From 77243bf29ecdaaf36cbc24808c789a22cade66fa Mon Sep 17 00:00:00 2001 From: "menghaiwen@fusen.cn" Date: Wed, 24 Jan 2024 10:04:50 +0800 Subject: [PATCH] =?UTF-8?q?logo=E7=AE=97=E6=B3=95=E8=A3=81=E5=89=AA?= =?UTF-8?q?=E5=8E=BB=E8=83=8C=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/resource.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service/resource.proto b/service/resource.proto index 7703071..91aee26 100644 --- a/service/resource.proto +++ b/service/resource.proto @@ -37,7 +37,7 @@ service resource { rpc LogoInfoSet(LogoInfoSetReq) returns (LogoInfoSetRes) {} // logo裁剪处理 - rpc LogoCropping(LogoCroppingReq) returns (LogoCroppingRes) {} + rpc LogoAiCropping(LogoAiCroppingReq) returns (LogoAiCroppingRes) {} // logo缩略处理 rpc LogoResize(LogoResizeReq) returns (LogoResizeRes) {} @@ -117,7 +117,7 @@ message ResourceDeleteRes {} /* 删除资源详情 */ /* logo裁剪处理 */ -message LogoCroppingReq { +message LogoAiCroppingReq { string is_remove_bg=1; //是否去背景 string logo_file=2; // 资源 string width=3; // 宽 @@ -128,7 +128,7 @@ message LogoCroppingReq { int64 user_id = 101; // 用户ID int64 guest_id = 102; // 访客ID } -message LogoCroppingRes { +message LogoAiCroppingRes { string resource_id=1;// 资源ID string resource_url=2;// 资源链接 bool ismax_proportion=3; // 最大