add products

This commit is contained in:
2024-05-18 12:58:50 +07:00
parent afd5536246
commit 6b3306bb96
8 changed files with 389 additions and 31 deletions
+13
View File
@@ -17,6 +17,11 @@ service CRM {
get: "/positions/{id}"
};
}
rpc GetProduct(GetProductReq) returns (ProductRsp) {
option (google.api.http) = {
get: "/products/{id}"
};
}
}
message GetCatalogReq {}
@@ -75,3 +80,11 @@ message Characteristic {
string name = 1;
string value = 2;
}
message GetProductReq{
int64 id = 1;
}
message ProductRsp {
Product product = 1;
}