info address
This commit is contained in:
@@ -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{
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user