Merge branch 'master' of gitlab.fusenpack.com:backend/proto

This commit is contained in:
huangsimin@fusen.cn
2023-12-05 15:02:31 +08:00
7 changed files with 58 additions and 3 deletions

View File

@@ -232,7 +232,7 @@ message GetProductDetailRsp {
string logo = 1; //logo
TemplateTagColorInfo template_tag_color_info = 2; //标签颜色信息
ProductInfo product_info = 3; //产品基本信息
google.protobuf.Struct base_colors = 4; //一些返回写死的颜色
google.protobuf.ListValue base_colors = 4; //一些返回写死的颜色
repeated SizeInfo size_list = 5; //尺寸相关信息
}

View File

@@ -13,7 +13,7 @@ import "google/protobuf/any.proto";
service resource {
// 获取资源详情
rpc GetResourceInfo(GetResourceInfoReq) returns (GetResourceInfoRes) {
rpc GetResourceInfo(GetResourceInfoReq) returns (basic.Response) {
option (google.api.http) = {
get: "/api/resource/info"
};
@@ -43,6 +43,7 @@ message GetResourceInfoRes {
string bucket_name = 8;
string source = 9;
string uploaded_at = 10;
google.protobuf.Struct metadata = 11;
// google.protobuf.Struct metadata = 11;
google.protobuf.Any metadata =11;
}
/* 获取资源详情 */