enrich card
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-05-30 03:24:20 +07:00
parent 4335d14090
commit 4917ca90fc
6 changed files with 197 additions and 115 deletions
+4
View File
@@ -96,6 +96,7 @@ message GroupedProduct {
message Variant {
int64 price = 1;
repeated Property properties = 2;
bool active = 3;
}
message Property {
@@ -155,6 +156,9 @@ message CardItem {
double inventory = 9;
int64 count = 10;
int64 amount = 11;
int64 amountOld = 12;
repeated Variant variants = 13;
repeated Label labels = 14;
}
message CardReq {
+9
View File
@@ -0,0 +1,9 @@
POST http://localhost:8090/card
content-type: application/json
[
{
"product_id": 1,
"count": 7
}
]