简要描述:

  • 搜索页-技能师傅

请求域名:

  • http://xx.com

请求URL:

GET/&route=plugin.be-within-call.frontend.public-search.shifu&page_size=15

参数:

参数名 是否必须 类型 说明
lng string 计算距离需要
lat string 计算距离需要
name string 技能师傅名称
page string 当前页数
page_size int 每页条数
category_id int 分类ID
order_by string 排序:new最新、near附件

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "list",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 3,
                "uniacid": 6,
                "member_id": 2460,
                "identity": 2,
                "blacklist": 0,
                "province_name": "广东省",
                "city_name": "广州市",
                "district_name": "白云区",
                "street_name": "景泰街道",
                "province_id": 440000,
                "city_id": 440100,
                "district_id": 440111,
                "street_id": 440111004,
                "longitude": "113.28",
                "latitude": "23.18",
                "realname": "高级技师",
                "mobile": "1503456234",
                "other1": "1",
                "other2": "",
                "other3": "",
                "created_at": "2023-03-09 17:36:22",
                "detail_info": {
                    "age": "25",
                    "sex": "女",
                    "native_place": "都是",
                    "nation": "满",
                    "education": "天堂级别",
                    "stature": "169",
                    "weight": "120",
                    "introduce": "让你爽上天"
                },
                "apply_status": 1,
                "unit": "m",
                "star_grade": 5,
                "apply_status_name": "审核通过",
                "personal_pic": "http://demo.yun.cn/static/upload/images/6/2022/01/17fd5908dcc2d363548243c47ef3e97d.jpg"
            }
        ],
        "first_page_url": "http://demo.yun.cn/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://demo.yun.cn/addons/yun_shop/api.php?page=1",
        "next_page_url": null,
        "path": "http://demo.yun.cn/addons/yun_shop/api.php",
        "per_page": "1",
        "prev_page_url": null,
        "to": 1,
        "total": 1
    }
}

返回参数说明:

返回参数说明(分页):

参数名 类型 说明
current_page int 当前页数
per_page int 每页条数
to int 当前页条数
total int 总条数(直推人数)
data array 内容数据

data参数说明:

参数名 类型 说明
id string 师傅ID
member_id string 会员ID
realname string 姓名
other1 int 是否培训:1培训、0未培训
star_grade int 星级
personal_pic string 师傅图片
distance string 距离
unit string 距离单位
detail_info.age int 年龄
detail_info.native_place string 籍贯
detail_info.introduce string 简介

备注: