info address

This commit is contained in:
eson
2023-09-26 12:08:51 +08:00
parent 47a1ecfc79
commit 6a41be4f3a
3 changed files with 3 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ service info {
post /api/info/address/default(AddressIdRequest) returns (response);
@handler AddressAddHandler
post /api/info/address/add(AddressNameRequest) returns (response);
post /api/info/address/add(AddressRequest) returns (response);
@handler AddressUpdateHandler
post /api/info/address/update(AddressObjectRequest) returns (response);
@@ -48,7 +48,7 @@ type (
}
AddressRequest {
AddressId int64 `json:"address_id,omitempty"`
AddressId int64 `json:"address_id,optional"`
IsDefault int64 `json:"is_default"` //是否默认
AddressName string `json:"address_name"` //收货人
FirstName string `json:"first_name"` //first_name