info get profile

This commit is contained in:
eson
2023-09-26 17:16:10 +08:00
parent 4dfeebeaed
commit f387e46977
10 changed files with 159 additions and 29 deletions

View File

@@ -13,6 +13,9 @@ service info {
@handler InfoHandler
post /api/info/user(UserInfoRequest) returns (response);
@handler UserGetProfileHandler
get /api/info/user/profile(QueryProfileRequest) returns (response);
@handler UpdateProfileHandler
post /api/info/user/profile/update(ProfileRequest) returns (response);
@@ -72,4 +75,8 @@ type (
Resetaurant *string `json:"resetaurant,optional,omitempty"` // 不知道干什么
Company *string `json:"company,optional,omitempty"` // 公司
}
QueryProfileRequest {
TopKey string `json:"top_key"` // 首名
}
)