删除之前测试的产品相关代码]

This commit is contained in:
laodaming@fusen.cn 2024-01-12 10:29:05 +08:00
parent 43b7ba0929
commit 3c37a46f50

View File

@ -124,28 +124,6 @@ service info {
} }
//
service product {
//
rpc GetProductDetail(GetProductDetailReq) returns (basic.Response) {
option (google.api.http) = {
get: "/api/product/get_product_detail"
};
}
//
rpc GetProductList(GetProductListReq) returns (basic.Response) {
option (google.api.http) = {
get: "/api/product/tag_product_list"
};
}
//
rpc CalculateProductPrice(CalculateProductPriceReq) returns (CalculateProductPriceRsp) {
option (google.api.http) = {
post: "/api/product/calculate_product_price"
body: "*"
};
}
}
message UserInfoRequest { message UserInfoRequest {
repeated string module = 1; // repeated string module = 1; //
@ -233,37 +211,4 @@ message ContactUsRequest {
string email = 2; // string email = 2; //
string phone = 3; // string phone = 3; //
string message = 4; // string message = 4; //
}
//
message GetProductDetailReq{
int64 product_id = 1;
string template_tag = 2;
int64 selected_color_index = 3;
string logo = 4;
}
//
message GetProductListReq{
int64 basic_tag_id = 1; //
int64 merchant_type = 2; //
string template_tag = 3; //
bool with_product = 4; //
}
//
message CalculateProductPriceReq{
int64 product_id = 1;
int64 size_id = 2;
int64 fitting_id = 3;
int64 purchase_quantity = 4;
}
message CalculateProductPriceRsp{
string item_price = 1;
string total_price = 2;
StepRange step_range = 3;
}
message StepRange{
int64 start = 1;//
int64 end = 2;//
string range_description = 3;//
string item_price = 4;//
} }