info update profile
This commit is contained in:
@@ -13,6 +13,9 @@ service info {
|
||||
@handler InfoHandler
|
||||
post /api/info/user(UserInfoRequest) returns (response);
|
||||
|
||||
@handler UpdateProfileHandler
|
||||
post /api/info/user/profile/update(ProfileRequest) returns (response);
|
||||
|
||||
@handler AddressDefaultHandler
|
||||
post /api/info/address/default(AddressIdRequest) returns (response);
|
||||
|
||||
@@ -60,4 +63,13 @@ type (
|
||||
City string `json:"city"` //城市
|
||||
State string `json:"state"` //州
|
||||
}
|
||||
|
||||
ProfileRequest {
|
||||
FirstName *string `json:"first_name,optional,omitempty"` // 首名
|
||||
LastName *string `json:"last_name,optional,omitempty"` // 后名
|
||||
UserName *string `json:"user_name,optional,omitempty"` // 用户名
|
||||
Mobile *string `json:"mobile,optional,omitempty"` // 电话
|
||||
Resetaurant *string `json:"resetaurant,optional,omitempty"` // 不知道干什么
|
||||
Company *string `json:"company,optional,omitempty"` // 公司
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user