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