请求方式 POST 请求路径 api/FarmUser/AddCustomerAddress
添加收货地址
URI 参数说明
None.
Json字符串 参数说明:Body Data
FarmUserAddressModel
字段 | 说明 | 类型 | 备注说明 |
---|---|---|---|
ID |
编号 |
integer |
None. |
FarmUserId |
农场用户id |
integer |
None. |
Province |
省 |
string |
None. |
City |
市 |
string |
None. |
Area |
区县 |
string |
None. |
Address |
详细地址 |
string |
None. |
ReceiveLocation |
收货地坐标 |
string |
None. |
ConsigneeUser |
收货人 |
string |
None. |
Mobile |
手机 |
string |
None. |
IsDefault |
是否是默认地址 0非默认 1默认 |
integer |
None. |
请求格式:application/json, text/json
application/json
Sample:
{ "ID": 1, "FarmUserId": 2, "Province": "sample string 3", "City": "sample string 4", "Area": "sample string 5", "Address": "sample string 6", "ReceiveLocation": "sample string 7", "ConsigneeUser": "sample string 8", "Mobile": "sample string 9", "IsDefault": 10, "AddTime": "2025-07-03 18:08:32", "UpdateTime": "2025-07-03 18:08:32", "AddUser": "sample string 13", "AddUserID": 14, "UpdateUser": "sample string 15", "Deleted": 16 }
得到响应信息说明
添加收货地址
ResponseResult字段 | 说明 | 类型 | 备注说明 |
---|---|---|---|
ResponseMsg |
返回结果内容描述 |
string |
None. |
ResponseCode |
状态码 0(成功) >0(业务错误) <0(系统错误) -1: 系统错误 100: 字符为空报错 101: 字符类型错误 102: 图片上传失败200: 操作失败300: 缓存验证超时错误 301: 缓存验证码错误 302: token 错误系统不存在,非法操作 303: token 验证超时500: 参数错误 501: 数据为空 502: 存在重复数据 503: 业务验证失败 |
integer |
None. |
Data |
返回的结果集 |
Object |
None. |
响应格式
application/json, text/json
Sample:
{ "ResponseMsg": "sample string 1", "ResponseCode": 2, "Data": {} }