多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
[TOC] ## 小区列表 ~~~[api] get:/community <<< success { "code": 0, "data": { "data": [ { "id": 1, "name": "",//小区名 "source": 0,//小区来源 0 管理添加 1销售人员添加 "create_time": "",//添加时间 "landmark": "",//小区地标 "county": "",//区 "city": "",//市 "province": ""//省 } ], "currentPage": 1,//当前页 "pageNumber": 10,//页码 "count": 1//总条数 } } <<< error ~~~ ## 小区分页 ~~~[api] get:/community/pag *int:currentPage=1#当前页 *int:pageNumber=10#页码 <<< success { "code": 0, "data": { "data": [ { "id": 1, "name": "", "source": 0, "create_time": "", "landmark": "", "county": "", "city": "", "province": "" } ] } } <<< error { "code": -1, "msg": "参数错误!" } ~~~ ## 小区搜索 ~~~[api] get:/community/search *string:search=搜索内容#搜索内容 <<< success { "code": 0, "data": { "data": [ { "id": 1, "name": "", "source": 0, "create_time": "", "landmark": "", "county": "", "city": "", "province": "" } ] } } <<< error { "code": -1, "msg": "参数错误!" } ~~~