##查询列表
~~~[api]
post:reon/builds/list
<<<
success
{
"code": 200,
"data": {
"吴兴区": {
"0": {
"id": 1,
"title": "荣恒装饰",
"area": "吴兴区"
},
"7": {
"id": 13,
"title": "小江江私宅",
"area": "吴兴区"
}
},
"东城区": {
"1": {
"id": 7,
"title": "老王后花园",
"area": "东城区"
}
},
},
"error": ""
}
<<<
error
~~~
##列表
~~~[api]
get:reon/builds
<<<
success
{
"code": 200,
"data": {},
"error": ""
}
<<<
error
~~~
##详情
~~~[api]
get:reon/builds/:id
<<<
success
{
"code": 200,
"data": {
},
"error": ""
}
<<<
error
~~~
##添加
~~~[api]
post:reon/builds
*title#楼盘名称
*province#省
*city#市
*area#区
int:status#状态,1启用,0禁用
<<<
success
{
"code": 200,
"data": "添加成功",
"error": ""
}
<<<
error
~~~
##编辑
~~~[api]
PUT:reon/builds/:id
*title#楼盘名称
*province#省
*city#市
*area#区
int:status#状态,1启用,0禁用
<<<
success
{
"code": 200,
"data": "编辑成功",
"error": ""
}
<<<
error
~~~
##删除
~~~[api]
DELETE:reon/builds/:id
<<<
success
{
"code": 200,
"data": "删除成功",
"error": ""
}
<<<
error
~~~