💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC] ## 列表 ~~~[api] get:/cooperation_sale <<< success { "code": 0, "data": { "data": [ { "id": 1, "name": "王伟",//销售姓名 "phone": "15181474781",//销售电话 "status": 0,//销售状态 0 正常 1 冻结 "create_time": "2017-12-15 09:33:30",//创建时间 "title": "青羊区分店"//所在门店名 } ], "currentPage": 1,//当前页 "pageNumber": 10,//页码 "count": 1 } } <<< error { "code": -1, "msg": "参数错误!" } ~~~ ## 列表分页 ~~~[api] get:/cooperation_sale/pag *int:currentPage=1#当前页 *int:pageNumber=10#页码 <<< success { "code": 0, "data": { "data": [ { "id": 1, "name": "王伟", "phone": "15181474781", "status": 0, "create_time": "2017-12-15 09:33:30", "title": "青羊区分店" } ] } } <<< error { "code": -1, "msg": "参数错误!" } ~~~ ## 搜索 ~~~[api] get:/cooperation_sale/search *string:search=搜索内容#销售姓名 | 销售手机号 <<< success { "code": 0, "data": { "data": [ { "id": 1, "name": "王伟", "phone": "13333333332", "status": 0, "create_time": "2017-12-15 16:28:35", "title": "青羊区分店" } ] } } <<< error { "code": -1, "msg": "参数错误!" } ~~~ ## 门店下的销售列表 ~~~[api] get:/cooperation_sale/list *int:id=1#门店 id <<< success { "code": 0, "data": { "data": [ { "id": 1, "name": "王伟",//销售姓名 "phone": "15181474781",//销售电话 "status": 0,//销售状态 0 正常 1 冻结 "create_time": "2017-12-15 09:33:30",//创建时间 "title": "青羊区分店",//所在门店名 "total": 28,//总佣金 "available": 28,//可提佣金 "used": 0//已提佣金 } ], "currentPage": 1,//当前页 "pageNumber": 10,//页码 "count": 1 } } <<< error { "code": -1, "msg": "参数错误!" } ~~~ ## 门店列表分页 ~~~[api] get:/cooperation_sale/listPag *int:id=1#门店 id *int:currentPage=1#当前页 *int:pageNumber=10#页码 <<< success { "code": 0, "data": { "data": [ { "id": 1, "name": "王伟", "phone": "15181474781", "status": 0, "create_time": "2017-12-15 09:33:30", "title": "青羊区分店", "total": 28,//总佣金 "available": 28,//可提佣金 "used": 0//已提佣金 } ] } } <<< error { "code": -1, "msg": "参数错误!" } ~~~