##当前竞拍的客户
域名/index.php/App/Biding/startCustomer/token/当前用户TOKEN.html
+++
<<<
success
{
"info": "查询成功。",
"state": 1,
"retData": [
{
"_id": "25",
"customer": "陈颖超1",
"phone_num": "18577341430",
"desc": "南山",
"city": "深圳",
"region": "南山",
"company": "小马快租",
"measure": "100",
"price": "10",
"status": "1",
"start_time": "1478244269",
"end_time": "1478244509",
"surplus_time": 240 //竞拍剩余时间
}
]
}
<<<
error
{
"data":"",
"retNum":0,
"state":0
}
+++
##获取当前登录的经纪人竞拍记录
域名/index.php/App/Biding/getAgentIdBiding/token/您的TOKEN 传输方式:GET
+++
*page# 当前页数 //默认为1
*num# 每页数量 //默认为1
<<<
success
{
"data":[{
"_id":"3",
"user_id":"3",
"customer_id":"0",
"integral":"22",
"status":"2"
}],
"retNum":1,
"state":1
}
<<<
error
{
"data":"",
"retNum":0,
"state":0
}
+++
##竞拍客户
域名/index.php/App/Biding/biddingCustomer/token/您的TOKEN 传输方式:get
+++
*customerId# 客户ID
*integral# 竞拍积分
<<<
success
{
"info": "您已竞拍过该用户,不可重复竞拍。", //竞拍失败或成功原因
"state": 1 //1为成功,2为失败
}
<<<
error
{
"info": "竞拍失败。",
"state": 1 //1为成功,2为失败
}
+++
##接受指派
域名/index.php/App/Biding/acceptArrange/token/您的TOKEN 传输方式:get
+++
*customer_id# 客户ID
<<<
success
{
"info": "接受成功",
"state": 1 //1为成功,2为失败
}
<<<
error
{
"info": "接受失败 。",
"state": 0 //1为成功,2为失败
}
+++
##拒接指派
域名/index.php/App/Biding/RejectArrange/token/您的TOKEN 传输方式:get
+++
*customer_id# 客户ID
<<<
success
{
"info": "拒接成功",
"state": 1 //1为成功,2为失败
}
<<<
error
{
"info": "竞拍失败。",
"state": 0 //1为成功,2为失败
}
+++