info get profile

This commit is contained in:
eson
2023-09-26 17:45:07 +08:00
parent c880cba0a3
commit 54613f5be0
5 changed files with 15 additions and 15 deletions

View File

@@ -16,8 +16,8 @@ service info {
@handler UserGetProfileHandler
post /api/info/user/profile(QueryProfileRequest) returns (response);
@handler UpdateProfileHandler
post /api/info/user/profile/update(ProfileRequest) returns (response);
@handler UpdateProfileBaseHandler
post /api/info/user/profile/update(ProfileBaseRequest) returns (response);
@handler AddressDefaultHandler
post /api/info/address/default(AddressIdRequest) returns (response);
@@ -67,7 +67,7 @@ type (
State string `json:"state"` //州
}
ProfileRequest {
ProfileBaseRequest {
FirstName *string `json:"first_name,optional,omitempty"` // 首名
LastName *string `json:"last_name,optional,omitempty"` // 后名
UserName *string `json:"user_name,optional,omitempty"` // 用户名