info address
This commit is contained in:
@@ -12,16 +12,16 @@ import "basic.api"
|
||||
service info {
|
||||
@handler InfoHandler
|
||||
post /api/info/user(UserInfoRequest) returns (response);
|
||||
|
||||
|
||||
@handler AddressDefaultHandler
|
||||
post /api/info/address/default(AddressIdRequest) returns (response);
|
||||
|
||||
|
||||
@handler AddressAddHandler
|
||||
post /api/info/address/add(AddressNameRequest) returns (response);
|
||||
|
||||
|
||||
@handler AddressUpdateHandler
|
||||
post /api/info/address/update(AddressObjectRequest) returns (response);
|
||||
|
||||
|
||||
@handler AddressDeleteHandler
|
||||
post /api/info/address/delete(AddressIdRequest) returns (response);
|
||||
}
|
||||
@@ -45,6 +45,7 @@ type (
|
||||
}
|
||||
|
||||
AddressRequest {
|
||||
AddressId int64 `json:"address_id,omitempty"`
|
||||
IsDefault int64 `json:"is_default"` //是否默认
|
||||
AddressName string `json:"address_name"` //收货人
|
||||
FirstName string `json:"first_name"` //first_name
|
||||
|
||||
Reference in New Issue
Block a user