## 获取竞拍列表【竞拍页面】
+++
get: Api/Auction/getAuctionList
<<<
success
返回参数说明:
正在竞拍的不返回“业主电话” 与“业主姓名”
正在竞拍的:将返回竞拍次数与当前竞拍出价
{
"data": [
{
"_id": {
"$id": "58b39cde74e5f0fc9b84140a"
},
"title": "2", //竞拍标题
"region": "333", //区域
"state": 1, //竞拍状态 1为正在竞拍,2为竞拍成功,3为竞拍失败
"release_time": "00:39:05", //竞拍剩余时间
"city": "深圳" //市区
},
{
"_id": {
"$id": "58b39ce874e5f0fc9b84140e"
},
"con_tel": "15512345678",
"con_name": "333",
"title": "4",
"region": "333",
"settled_time": "1",
"describe": "3333",
"state": 2,
"release_time": "00:39:05",
"city": "深圳"
}
],
"info": "查询成功",
"code": 1000,
"state": 1
}
<<<
error
{
"data": "",
"info": "查询无数据",
"code": 996,
"state": 2
}
可能返回的错误:
代号 错误
996 查询无数据
+++
## 获取竞拍详细信息
+++
get: Api/Auction/getAuctionDateils
*auction_id=竞拍ID #
<<<
success
返回参数说明:
正在竞拍的不返回“业主电话” 与“业主姓名”
正在竞拍的:将返回竞拍次数与当前竞拍出价
{
"data": {
"_id": {
"$id": "58b522fab15c80101700002d"
},
"con_name": "22we ", //客户名称
"con_tel": "15507898841", //客户电话
"title": "大多数的草地上的", //竞拍标题
"region": "1", //区域
"describe": "11伟大的范围分为非人为", //描述
"large_area": 11, //最小面积
"small_area": 111, //最大面积
"state": 0, //0为未竞拍,1为正在竞拍,2为竞拍成功,3为竞拍失败
"release_time": 0, ////竞拍剩余时间
"user_id": 261,
"user_name": "live@-@ni",
"city": "深圳"
},
"info": "查询成功",
"code": 1000,
"state": 1
}
<<<
error
{
"data": "",
"info": "缺少必须参数(ID)",
"code": 997,
"state": 2
}
可能返回的错误:
代号 错误
997 缺少必须参数(ID)
996 未找到该竞拍
+++
## 发布线索
+++
post: Api/Auction/addWait/token/用户TOKEN
con_name=业主姓名 #
con_tel=业主联系方式#
title=竞拍标题#
city_id=所在市区#
region=委托区域#
settled_time=是否立即入驻# //为0时为立即入驻,否则单位为月,如:3表示3个月后入驻
describe=描述#
large_area=最大需求面积#
small_area=最小面积#
<<<
success
返回参数说明:
{
"data": "",
"info": "添加成功",
"code": 1000,
"state": 1
}
<<<
error
{
"data": "",
"info": "业主姓名不可为空",
"code": 1001,
"state": 2
}
+++
## 竞拍
+++
get: Api/Auction/auction
*auction_id=客户ID #
*offer=出价 #
<<<
success
返回参数说明:
<<<
error
{
}
+++