add breadcrumbs
This commit is contained in:
+14
-1
@@ -22,6 +22,11 @@ service CRM {
|
||||
get: "/products/{id}"
|
||||
};
|
||||
}
|
||||
rpc GetBreadcrumbs(GetBreadcrumbsReq) returns (BreadcrumbsRsp) {
|
||||
option (google.api.http) = {
|
||||
get: "/breadcrumbs/{id}"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
message GetCatalogReq {}
|
||||
@@ -81,10 +86,18 @@ message Characteristic {
|
||||
string value = 2;
|
||||
}
|
||||
|
||||
message GetProductReq{
|
||||
message GetProductReq {
|
||||
int64 id = 1;
|
||||
}
|
||||
|
||||
message ProductRsp {
|
||||
Product product = 1;
|
||||
}
|
||||
|
||||
message GetBreadcrumbsReq {
|
||||
int64 id = 1;
|
||||
}
|
||||
|
||||
message BreadcrumbsRsp {
|
||||
repeated Category categories = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user