contact us

This commit is contained in:
eson
2023-10-11 12:23:41 +08:00
parent fff760253a
commit 9bb5f1b2dd
14 changed files with 179 additions and 19 deletions

View File

@@ -39,9 +39,19 @@ service info {
@handler RestaurantListHandler
get /api/info/restaurant/list(request) returns (response);
@handler ContactUsHandler
post /api/info/contact/us(ContactUsRequest) returns (response);
}
type (
ContactUsRequest {
Name string `json:"name"`
Email string `json:"email"`
Phone string `json:"phone"`
Message string `json:"message"`
}
UserInfoRequest {
Module []string `json:"module"`
}