简要描述:
接口版本:
版本号 |
制定人 |
制定日期 |
修订日期 |
1.0.0 |
kevin |
2020-02-27 |
|
请求URL:
请求方式:
请求头:
参数名 |
是否必须 |
类型 |
说明 |
token |
是 |
string |
授权凭证 |
请求参数:
参数名 |
是否必须 |
类型 |
说明 |
page |
是 |
int |
页码 |
pagesize |
是 |
int |
条数 |
keyword |
否 |
string |
关键字搜索,标题搜索 |
type_id |
否 |
int |
分类搜索,入驻类型接口 |
multiple |
否 |
string |
综合搜索,distance_asc=距离升序 \ distance_desc距离降序 \ price_asc=价格升序 \ \ price_desc= 价格降序 \ volume_asc=销量升序 \ volume_desc=销量降序,默认销量降序 |
address |
否 |
string |
用户获取定位的地址 |
返回示例:
正确时返回:
{
"status": 200,
"msg": "获取成功",
"data": [
{
"id": 2,
"cover": "http://bxl.com/uploads/service/2020-02-24/5e53a2abdbf47.jpg",
"title": "IT服务1",
"price": "5000.00",
"old_price": "5000.00",
"type_name": "IT服务"
"transaction_volume": 1,
"describe": "网站建设,APP,小程序,公众号开发等等",
"receipt": 1,
"address": "广东省深圳市龙岗区南通道",
"avatar": "http://bxl.com/upold_loads/user/avatar/2020-02-22/5e50890ea73d1.png",
"username": "131****0000",
"nickname": "0000",
"rebate": "0.02",
"month_sale": 1
}
]
}
错误时返回:
{
"status": 0,
"msg": "token过期"
}
service返回参数说明:
参数名 |
类型 |
说明 |
id |
int |
服务id |
cover |
string |
服务封面路径 |
title |
string |
服务标题 |
price |
string |
服务价格 |
old_price |
string |
服务原价格 |
type_name |
string |
入驻类型名称 |
transaction_volume |
int |
销量 |
describe |
string |
服务内容 |
receipt |
int |
接单状态,1=可接单,2=不可接单 |
address |
string |
商家地址 |
avatar |
string |
商家头像 |
username |
string |
商家用户名 |
nickname |
string |
商家昵称 , 可以使用昵称显示,如果没有昵称,再使用用户名 |
rebate |
string |
返利信息 |
month_sale |
int |
月销售 |
备注:
文档更新时间: 2020-06-28 14:54 作者:admin