From 138bcb304d4d7040ad4d2c56e2567716dae49567 Mon Sep 17 00:00:00 2001 From: "menghaiwen@fusen.cn" Date: Mon, 22 Jan 2024 16:42:00 +0800 Subject: [PATCH] =?UTF-8?q?logo=E7=AE=97=E6=B3=95=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=8F=90=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/resource.proto | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/service/resource.proto b/service/resource.proto index 75aef07..6a33061 100644 --- a/service/resource.proto +++ b/service/resource.proto @@ -61,13 +61,17 @@ message SetExampleRes { /* logo算法信息提取 */ message LogoAiInfoGetReq { string logo_url = 1;// logo地址 - int64 logo_id = 2;// logoID - string version = 3;// 算法版本 - string is_reverse = 4; // 是否反白 - string logo_crop_type = 5; // 可拆类型 - string is_all_template = 7; // 是否全部模版 + optional int64 logo_id = 2;// logoID + optional string version = 3;// 算法版本 + optional string is_reverse = 4; // 是否反白 + optional string logo_crop_type = 5; // 可拆类型 + optional string is_all_template = 7; // 是否全部模版 + repeated string recommend_templates = 6; // 推荐模版 - bytes preprocess_logo_metadata =8; // logo数据库额外参数 + bytes preprocess_logo_metadata = 8; // logo数据库额外参数 + + optional int64 user_id = 101; // 用户ID + optional int64 guest_id = 102; // 访客ID } message LogoAiInfoGetRes { bytes metadata =1; // AI返回基础信息