info get profile
This commit is contained in:
@@ -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"` // 首名
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user