logo search

This commit is contained in:
eson
2023-10-20 15:59:03 +08:00
parent 615032a0a8
commit 956cbde1bc
5 changed files with 38 additions and 9 deletions

View File

@@ -42,7 +42,7 @@ service info {
// 搜索建议
@handler PreLogoSearchSuggestionsHandler
post /api/info/prelogo/search/suggestions(PreLogoSearchRequest) returns (response);
post /api/info/prelogo/search/suggestions(PreLogoSearchSuggestionsRequest) returns (response);
// 搜索
@handler PreLogoSearchHandler
@@ -60,6 +60,10 @@ type (
Message string `json:"message"`
}
PreLogoSearchSuggestionsRequest {
Keywords string `json:"keywords"` // 关键字
}
PreLogoSearchRequest {
ZipCode string `json:"zip_code"` // 邮编
Keywords string `json:"keywords"` // 关键字