add search
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-05-30 04:17:13 +07:00
parent 073a7e6d8c
commit 8be5d0b831
9 changed files with 320 additions and 53 deletions
+9
View File
@@ -48,6 +48,11 @@ service CRM {
get: "/images/{name}"
};
}
rpc Search(SearchReq) returns (PositionsRsp) {
option (google.api.http) = {
get: "/search"
};
}
}
message GetCatalogReq {}
@@ -174,3 +179,7 @@ message CartRsp {
message GetImageReq {
string name = 1;
}
message SearchReq {
string text = 1;
}
+4
View File
@@ -31,3 +31,7 @@ content-type: application/json
}
]
}
###
GET http://localhost:8090/search?text=Лимон