POST api/Address/SaveUserAddress

修改,新增地址

Request Information

URI Parameters

None.

Body Parameters

SaveAddressParam
NameDescriptionTypeAdditional information
id

地址ID

integer

None.

name

姓名

string

None.

phone

电话

string

None.

citypicker

地址参数 示例值:福建省,厦门市,思明区

string

None.

street

详细地址

string

None.

isdefault

是否默认地址

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "phone": "sample string 3",
  "citypicker": "sample string 4",
  "street": "sample string 5",
  "isdefault": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

修改,新增地址

ApiResultModelSaveUserAddress
NameDescriptionTypeAdditional information
addressId

地址id

integer

None.

code

0:正确 100:错误 403:需要重新登录

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

登陆时候是否需要弹窗填些邀请码 1:需要

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "addressId": 1,
  "code": 2,
  "msg": "sample string 3",
  "submsg": "sample string 4",
  "isinvitation": 5
}