简要描述:

  • 获取服务列表接口

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2020-02-24

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 授权凭证

请求参数:

参数名 是否必须 类型 说明
page int 页码
pagesize int 条数

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "获取成功",
    "data": [
        {
            "id": 168,
            "uid": 4,
            "type_id": 1,
            "title": "个人定制",
            "cover": "http://bxl.com/uploads/user/service/2020-03-04/5e5f64949bcaf.png",
            "price": "1020.00",
            "old_price": "1500.00",
            "describe": "网站建设,APP,小程序,公众号开发等等",
            "time": 30,
            "status": 1,
            "receipt": 1,
            "address": "",
            "transaction_volume": 0,
            "remark": "",
            "create_at": "2020-06-05 10:19:45",
            "rebate": "20.00",
            "type_name": "IT服务"
        }
    ]
}

错误时返回:

{
    "status": 0,
    "msg": "token过期"
}

返回参数说明:

参数名 类型 说明
id int 服务id
uid int 用户id
type_id int 类型id
title string 服务名称
cover string 服务封面
price string 新价格
old_price string 原价格
describe string 服务描述
time string 服务平均时长
status string 状态,1=启用,2=禁用
transaction_volume string 状态,1=启用,2=禁用
create_at string 创建时间
type_name string 入驻类型名称

备注:

文档更新时间: 2020-06-05 10:38   作者:admin