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

@@ -2,7 +2,6 @@
package handler
import (
"net/http"
"fusenapi/server/info/internal/svc"
@@ -11,7 +10,6 @@ import (
)
func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
server.AddRoutes(
[]rest.Route{
{

View File

@@ -23,7 +23,7 @@ type AddressNameRequest struct {
}
type AddressRequest struct {
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