This commit is contained in:
laodaming@fusen.cn 2023-12-04 18:20:02 +08:00
parent 2025743dbe
commit 066595618a

View File

@ -221,15 +221,65 @@ message ContactUsRequest {
string message = 4; //
}
//
message GetProductDetailReq{
int64 product_id = 1;
string template_tag = 2;
int64 selected_color_index = 3;
string logo = 4;
}
message GetProductDetailRsp{
string msg = 1;
string name = 2;
message GetProductDetailRsp {
string logo = 1; //logo
TemplateTagColorInfo template_tag_color_info = 2; //
ProductInfo product_info = 3; //
google.protobuf.Struct base_colors = 4; //
repeated SizeInfo size_list = 5; //
}
message SizeInfo {
int64 id =1; //id
int64 is_default = 2; //
google.protobuf.Struct title = 3; //
string capacity = 4; //
int64 parts_can_deleted = 5; //
int64 is_hot = 6; //
string min_price = 7; //
google.protobuf.Struct template_info = 8; //
ModelInfo model_info = 9; //
repeated FittingInfo fitting_list = 10; //
}
message FittingInfo {
int64 id = 1; //id
int64 is_hot = 2; //
string material_image = 3;//
google.protobuf.Struct design_info = 4; //
string price = 5; //
string name = 6; //
int64 is_default = 7; //
}
message ModelInfo {
int64 id = 1; //id
google.protobuf.Struct design_info = 2; //
LightInfo light_info = 3; //
}
message LightInfo {
int64 id = 1; //id
google.protobuf.Struct light_design_info = 2; //
}
message ProductInfo {
int64 id = 1; //id
string description = 2; //
int64 product_type = 3; //id
string product_type_name = 4;//
string title = 5; //
int64 is_env = 6; //
int64 is_micro = 7; //
int64 is_customization = 8; //
google.protobuf.Struct website_unit = 9; //
}
message TemplateTagColorInfo {
google.protobuf.Struct colors = 1; //logo对应的算法颜色组
int64 selected_color_index = 2; //
google.protobuf.Struct template_tag_groups = 3; //
}