根据用户userid获取用户相对应的不同保险公司的车险报价。
接口地址:[接口根]/plugin/bxbj-api/list
请求类型:get
[
{
"uptime": 1439542258,
"return_info": [
{
"company": "平安保险",
"price": "4000",
"indexpic": "http://storage.tmtsp.com/other/3df817f4ecb8c49595f62d907aead385.jpg"
},
{
"company": "太平洋保险",
"price": "5000",
"indexpic": "http://storage.tmtsp.com/other/d286ddbbb3f604fe8346a3dbf0b1fc22.png"
},
{
"company": "人寿保险",
"price": "100",
"indexpic": "http://storage.tmtsp.com/other/fd34c21d1d338f56eb5855346e8b2dc9.jpg"
}
],
"card": "苏A888888"
}
]
uptime:提交信息时间、
return_info[]:保险商家信息集合,
return_info['company']:保险商家名称
return_info['price']:保险公司车险报价
return_info['indexpic']:保险公司商标图片路径
card:车主车牌号码
移动客户端提交车险信息、后台接受数据保存。
接口地址:[接口根]/plugin/bxbj-api/post
请求类型:post
{
"state": 1,
"message": "保存成功!"
}
{
"state": 0,
"message": "保存失败,请检查填写!"
}返回值state为-1,提交信息重复、请重新填写。返回值 state 为 1,提交数据保存成功。
返回值 state 为 0,提交数据保存失败,请检查填写。